Modify some run-make tests to use //@ needs-target-std
Instead of a jumble of `ignore-$target`s, `ignore-none` and `ignore-nvptx`.
This commit is contained in:
@@ -6,15 +6,11 @@
|
||||
//@ ignore-cross-compile
|
||||
// Reason: the compiled binary is executed
|
||||
|
||||
//@ ignore-none
|
||||
// Reason: no-std is not supported.
|
||||
//@ ignore-wasm32
|
||||
//@ ignore-wasm64
|
||||
// Reason: compiling C++ to WASM may cause problems.
|
||||
|
||||
// Neither of these are tested in full CI.
|
||||
//@ ignore-nvptx64-nvidia-cuda
|
||||
// Reason: can't find crate "std"
|
||||
// Not exercised in full CI, but sgx technically supports std.
|
||||
//@ ignore-sgx
|
||||
|
||||
use run_make_support::{build_native_static_lib_cxx, run, rustc};
|
||||
|
||||
@@ -10,8 +10,7 @@
|
||||
// (See #85673)
|
||||
//@ ignore-wasm32
|
||||
//@ ignore-wasm64
|
||||
//@ ignore-none
|
||||
// Reason: no-std is not supported
|
||||
//@ needs-target-std
|
||||
|
||||
use run_make_support::{bin_name, llvm_readobj, rustc};
|
||||
|
||||
|
||||
@@ -5,10 +5,7 @@
|
||||
// source file from disk during compilation of a downstream crate.
|
||||
// See https://github.com/rust-lang/rust/issues/86480
|
||||
|
||||
//@ ignore-none
|
||||
// Reason: no-std is not supported
|
||||
//@ ignore-nvptx64-nvidia-cuda
|
||||
// Reason: can't find crate for 'std'
|
||||
//@ needs-target-std
|
||||
|
||||
use run_make_support::{rfs, rust_lib_name, rustc};
|
||||
|
||||
|
||||
@@ -7,11 +7,7 @@
|
||||
// was hashed by rustc in addition to the span length, and the fix still
|
||||
// works.
|
||||
|
||||
//@ ignore-none
|
||||
// reason: no-std is not supported
|
||||
|
||||
//@ ignore-nvptx64-nvidia-cuda
|
||||
// FIXME: can't find crate for `std`
|
||||
//@ needs-target-std
|
||||
|
||||
use run_make_support::{rfs, rustc};
|
||||
|
||||
|
||||
@@ -9,10 +9,7 @@
|
||||
// for successful compilation.
|
||||
// See https://github.com/rust-lang/rust/issues/83112
|
||||
|
||||
//@ ignore-none
|
||||
// Reason: no-std is not supported
|
||||
//@ ignore-nvptx64-nvidia-cuda
|
||||
// FIXME: can't find crate for 'std'
|
||||
//@ needs-target-std
|
||||
|
||||
use run_make_support::{rfs, rustc};
|
||||
|
||||
|
||||
@@ -12,10 +12,7 @@
|
||||
// sessions.
|
||||
// See https://github.com/rust-lang/rust/issues/85019
|
||||
|
||||
//@ ignore-none
|
||||
// Reason: no-std is not supported
|
||||
//@ ignore-nvptx64-nvidia-cuda
|
||||
// FIXME: can't find crate for 'std'
|
||||
//@ needs-target-std
|
||||
|
||||
use run_make_support::{rfs, rust_lib_name, rustc};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user