blob: aece47ec3f9d402a54766372d3a819afd14c0168 [file]
//! Regression test for <https://github.com/rust-lang/rust/issues/37131>.
//! Tests that compiling for a target which is not installed will result in a helpful
//! error message.
//~^^^ ERROR can't find crate for `std`
//~| NOTE target may not be installed
//~| NOTE can't find crate
//@ compile-flags: --target=thumbv6m-none-eabi
//@ ignore-arm
//@ needs-llvm-components: arm
fn main() { }