Closed
Description
I observe this error on Mac OSX 10.9.
// test.rs
fn main() {}
$ rustc -L/usr/local/lib test.rs
task 'rustc' failed at 'assertion failed: lib.dylib.is_none()', rust/src/librustc/metadata/loader.rs:211
error: internal compiler error: unexpected failure
This message reflects a bug in the Rust compiler.
We would appreciate a bug report: https://github.com/mozilla/rust/wiki/HOWTO-submit-a-Rust-bug-report
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1 to get further details and report the results to github.com/mozilla/rust/issues
task '<main>' failed at 'explicit failure',
rust/src/librustc/lib.rs:441
Note that /usr/local/lib is the installation directory for Rust.
I ran into this error when I was trying to built rust-zmq, which requires linking against zmq.dylib, which is also installed in /usr/local/lib.
Metadata
Metadata
Assignees
Labels
No labels