esp-rs/rust

Rustc fails to run on Mac OS 11.7.7 (20G1345)

isaac-asdf opened this issue · 3 comments

I followed the install instructions from the Rust on ESP book, using espup and I created a new repo from the esp-template. When I try to cargo check the process errors out. It seems like an OS version issue. Is it possible to install an older version of the Rust fork through espup? I had been able to run this same process ~6months ago, but after updating with espup update it no longer works.

% cargo check
error: process didn't exit successfully: `/Users/me/.rustup/toolchains/esp/bin/rustc -vV` (signal: 6, SIGABRT: process abort signal)
--- stderr
dyld: Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
  Referenced from: /Users/me/.rustup/toolchains/esp/bin/../lib/librustc_driver-c61a62fc4508abaa.dylib (which was built for Mac OS X 12.0)
  Expected in: /usr/lib/libc++.1.dylib