-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Description
When trying to compile this code, I get the following error:
$ rustc --lib "mdsim2.rs"
task 'rustc' failed at 'index out of bounds: the len is 26499407 but the index is 26499407', /build/rust-git/src/rust/src/libextra/ebml.rs:100
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', /build/rust-git/src/rust/src/librustc/lib.rs:393
$ rustc -v
rustc 0.9-pre (f817ed3 2013-12-09 13:51:32 -0800)
host: x86_64-unknown-linux-gnu
Note that this requires nalgebra, which I had compiled just previously in my ~/.rust directory (different from the attached Gist file).
Also, I did try running with RUST_LOG=rustc=1
, but I could see no difference; I'll file a separate bug report for that.
One more note: when I stripped this file down, the compiler error changed; it used to say task 'rustc' failed at 'lookup_item: id not found: 74888', /build/rust-git/src/rust/src/librustc/metadata/decoder.rs:91
/
Metadata
Metadata
Assignees
Labels
No labels