main.rs:
fn main() {
println!("Hello world!");
}
$ rustc main.rs:
error: couldn't load codegen backend "/usr/local/lib/rustlib/i686-apple-darwin/codegen-backends/librustc_codegen_llvm-llvm.dylib": "dlsym(RTLD_DEFAULT, CFURLConnectionCreateWithProperties): symbol not found"
我使用的MacOS 10.11.6通过rustup安装锈1.30.1。 GCC是Apple LLVM version 8.0.0 (clang-800.0.42.1)