about summary refs log tree commit diff
path: root/tests/run-make/invalid-staticlib
diff options
context:
space:
mode:
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