Folkert de Vries efaf3eb8a0
ignore run-make tests that need std on no_std targets
In particular, anything that includes `none` in the target tripple, and `nvptx64-nvidia-cuda`
2025-06-12 15:10:12 +02:00

15 lines
375 B
Rust

//@ needs-target-std
use run_make_support::{path, rustc};
fn main() {
rustc().input("foo.rs").emit("asm,llvm-ir").output("out").run();
assert!(path("out.ll").is_file());
assert!(path("out.s").is_file());
rustc().input("foo.rs").emit("asm,llvm-ir").output("out2.ext").run();
assert!(path("out2.ll").is_file());
assert!(path("out2.s").is_file());
}