blob: 83d922dcfa92e1ee9cfeca930132997c6ba91f83 [file]
//! Regression test for <https://github.com/rust-lang/rust/issues/49851>.
//! Test compiling for a target which is not installed with `no_std`
//! results in a helpful error message.
//~^^^ ERROR: can't find crate for `core`
//@ compile-flags: --target thumbv7em-none-eabihf
//@ needs-llvm-components: arm
#![deny(unsafe_code)]
#![deny(warnings)]
#![no_std]
extern crate cortex_m; //~ ERROR: can't find crate for `cortex_m`
fn main() {}