about summary refs log tree commit diff
path: root/tests/run-make/used
diff options
context:
space:
mode:
authorFolkert de Vries <folkert@folkertdev.nl>2025-06-12 15:06:12 +0200
committerFolkert de Vries <folkert@folkertdev.nl>2025-06-12 15:10:12 +0200
commitefaf3eb8a06f2ad55334af6166d324fd79d8c25f (patch)
tree5a7753a049fb4612d2a6c3fd432bfb4c95a64203 /tests/run-make/used
parentfd50e1012f79eb93f661adc6f276335e4cfb34ea (diff)
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`
Diffstat (limited to 'tests/run-make/used')
-rw-r--r--tests/run-make/used/rmake.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run-make/used/rmake.rs b/tests/run-make/used/rmake.rs
index 39f36b2eea8..daed69c1b38 100644
--- a/tests/run-make/used/rmake.rs
+++ b/tests/run-make/used/rmake.rs
@@ -1,3 +1,5 @@
+//@ needs-target-std
+//
 // This test ensures that the compiler is keeping static variables, even if not referenced
 // by another part of the program, in the output object file.
 //