Closed
Description
Reproduction:
rustc -l static-nobundle=nonexistent main.rs
---
thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', src\libcore\option.rs:345:21
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
error: internal compiler error: unexpected panic
This happens because code in
rust/src/librustc_metadata/native_libs.rs
Line 166 in c0bbc39