Closed
Description
$ rustc-nightly --version
rustc 1.21.0-nightly (f25c2283b 2017-08-15)
$
$ rustc-nightly tmp.rs
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.21.0-nightly (f25c2283b 2017-08-15) running on i686-unknown-linux-gnu
thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', /checkout/src/libcore/option.rs:335:20
note: Run with `RUST_BACKTRACE=1` for a backtrace.
$
$ cat tmp.rs
#[link(name="foo", cfg("rlib"))]
extern {}
$