about summary refs log tree commit diff
path: root/tests/run-make/unknown-mod-stdin/rmake.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/unknown-mod-stdin/rmake.rs')
-rw-r--r--tests/run-make/unknown-mod-stdin/rmake.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run-make/unknown-mod-stdin/rmake.rs b/tests/run-make/unknown-mod-stdin/rmake.rs
index 6be3119c0fd..101711b0d2c 100644
--- a/tests/run-make/unknown-mod-stdin/rmake.rs
+++ b/tests/run-make/unknown-mod-stdin/rmake.rs
@@ -1,3 +1,5 @@
+//@ needs-target-std
+//
 // Rustc displays a compilation error when it finds a `mod` (module)
 // statement referencing a file that does not exist. However, a bug from 2019
 // caused invalid `mod` statements to silently insert empty inline modules