You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you download the latest compiler, and attempt to compile gcc-rs (cargo build), you'll get an error like the following:
% cargo build
Compiling gcc v0.1.2 (file://path/to/gcc-rs)
/path/to/gcc-rs/src/lib.rs:77:9: 77:18 error: internal compiler error: create_for_loop_var_metadata() - Referenced variable location is not an alloca!
/path/to/gcc-rs/src/lib.rs:77 for directory in config.include_directories.iter() {
^~~~~~~~~
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', /Users/rustbuild/src/rust-buildbot/slave/nightly-mac/build/src/libsyntax/diagnostic.rs:123
Could not compile `gcc`.
To learn more, run the command again with --verbose.
As the compiler output states, this is a bug with rustc, but it also could be manifest due to a bug in gcc-rs. So I thought I'd report it here.
If you download the latest compiler, and attempt to compile gcc-rs (
cargo build
), you'll get an error like the following:As the compiler output states, this is a bug with rustc, but it also could be manifest due to a bug in gcc-rs. So I thought I'd report it here.
(rust version: rustc 0.13.0-nightly (34d680009 2014-12-22 00:12:47 +0000))
(cargo version: cargo 0.0.1-pre-nightly (e11c317 2014-12-21 20:43:45 +0000))
The text was updated successfully, but these errors were encountered: