mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 01:26:32 +00:00
16 lines
421 B
Rust
16 lines
421 B
Rust
//! 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
|
|
//@ ignore-backends: gcc
|
|
#![deny(unsafe_code)]
|
|
#![deny(warnings)]
|
|
#![no_std]
|
|
|
|
extern crate cortex_m;
|
|
|
|
fn main() {}
|