diff options
| author | Folkert de Vries <folkert@folkertdev.nl> | 2025-06-12 15:06:12 +0200 |
|---|---|---|
| committer | Folkert de Vries <folkert@folkertdev.nl> | 2025-06-12 15:10:12 +0200 |
| commit | efaf3eb8a06f2ad55334af6166d324fd79d8c25f (patch) | |
| tree | 5a7753a049fb4612d2a6c3fd432bfb4c95a64203 /tests/run-make/unknown-mod-stdin | |
| parent | fd50e1012f79eb93f661adc6f276335e4cfb34ea (diff) | |
| download | rust-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/unknown-mod-stdin')
| -rw-r--r-- | tests/run-make/unknown-mod-stdin/rmake.rs | 2 |
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 |
