]> git.lizzy.rs Git - rust.git/blob - src/test/ui/crate-loading/missing-std.rs
Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_clif-2021-09-19
[rust.git] / src / test / ui / crate-loading / missing-std.rs
1 // compile-flags: --target x86_64-unknown-uefi
2 // needs-llvm-components: x86
3 // rustc-env:CARGO=/usr/bin/cargo
4 #![no_core]
5 extern crate core;
6 //~^ ERROR can't find crate for `core`
7 //~| NOTE can't find crate
8 //~| NOTE target may not be installed
9 //~| HELP consider building the standard library from source with `cargo build -Zbuild-std`
10 //~| HELP consider downloading the target with `rustup target add x86_64-unknown-uefi`
11 fn main() {}