about summary refs log tree commit diff
path: root/tests/run-make/invalid-staticlib
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/invalid-staticlib
parentfd50e1012f79eb93f661adc6f276335e4cfb34ea (diff)
downloadrust-efaf3eb8a06f2ad55334af6166d324fd79d8c25f.tar.gz
rust-efaf3eb8a06f2ad55334af6166d324fd79d8c25f.zip
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/invalid-staticlib')
-rw-r--r--tests/run-make/invalid-staticlib/rmake.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run-make/invalid-staticlib/rmake.rs b/tests/run-make/invalid-staticlib/rmake.rs
index ba9e07dd07b..4844bff329a 100644
--- a/tests/run-make/invalid-staticlib/rmake.rs
+++ b/tests/run-make/invalid-staticlib/rmake.rs
@@ -1,3 +1,5 @@
+//@ needs-target-std
+//
 // If the static library provided is not valid (in this test,
 // created as an empty file),
 // rustc should print a normal error message and not throw