about summary refs log tree commit diff
path: root/tests/run-make/staticlib-broken-bitcode
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/staticlib-broken-bitcode
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/staticlib-broken-bitcode')
-rw-r--r--tests/run-make/staticlib-broken-bitcode/rmake.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run-make/staticlib-broken-bitcode/rmake.rs b/tests/run-make/staticlib-broken-bitcode/rmake.rs
index 17d17c1f0f5..ab406d32176 100644
--- a/tests/run-make/staticlib-broken-bitcode/rmake.rs
+++ b/tests/run-make/staticlib-broken-bitcode/rmake.rs
@@ -1,3 +1,5 @@
+//@ needs-target-std
+//
 // Regression test for https://github.com/rust-lang/rust/issues/128955#issuecomment-2657811196
 // which checks that rustc can read an archive containing LLVM bitcode with a
 // newer version from the one rustc links against.