about summary refs log tree commit diff
path: root/tests/run-make/compiler-lookup-paths/rmake.rs
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/compiler-lookup-paths/rmake.rs
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/compiler-lookup-paths/rmake.rs')
-rw-r--r--tests/run-make/compiler-lookup-paths/rmake.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run-make/compiler-lookup-paths/rmake.rs b/tests/run-make/compiler-lookup-paths/rmake.rs
index 3ffa6e0592f..0e00f9b3400 100644
--- a/tests/run-make/compiler-lookup-paths/rmake.rs
+++ b/tests/run-make/compiler-lookup-paths/rmake.rs
@@ -1,3 +1,5 @@
+//@ needs-target-std
+//
 // Since #19941, rustc can accept specifications on its library search paths.
 // This test runs Rust programs with varied library dependencies, expecting them
 // to succeed or fail depending on the situation.