about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-08-31 20:43:44 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-08-31 20:43:44 +0000
commit0711bba9ea368204b1a7f833e0e44c529ce140c8 (patch)
tree8bb27daa320d7e8d48986ea6156348ecd3c159f6
parentf4888c2a680aff0bd191704a8d44716eee94103e (diff)
downloadrust-0711bba9ea368204b1a7f833e0e44c529ce140c8.tar.gz
rust-0711bba9ea368204b1a7f833e0e44c529ce140c8.zip
Ignore test when dylibs are not supported
-rw-r--r--tests/ui/linking/mixed-allocator-shim.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/linking/mixed-allocator-shim.rs b/tests/ui/linking/mixed-allocator-shim.rs
index b81fbdc5205..e4f20a11ebb 100644
--- a/tests/ui/linking/mixed-allocator-shim.rs
+++ b/tests/ui/linking/mixed-allocator-shim.rs
@@ -1,6 +1,7 @@
 //@ build-pass
 //@ compile-flags: --crate-type staticlib,dylib -Zstaticlib-prefer-dynamic
 //@ no-prefer-dynamic
+//@ needs-crate-type: dylib
 
 // Test that compiling for multiple crate types in a single compilation with
 // mismatching allocator shim requirements doesn't result in the allocator shim