diff options
| author | Oneirical <manchot@videotron.ca> | 2024-07-16 13:24:19 -0400 |
|---|---|---|
| committer | Oneirical <manchot@videotron.ca> | 2024-07-22 10:12:00 -0400 |
| commit | 8990df7d13871b388cbb51add034eb301e68956b (patch) | |
| tree | ceb71448ac3812ae9c66f772671042d767158399 /tests/ui/errors/wrong-target-spec.rs | |
| parent | 613a7a79e7ce7f733e622040d45e392c159d13e3 (diff) | |
| download | rust-8990df7d13871b388cbb51add034eb301e68956b.tar.gz rust-8990df7d13871b388cbb51add034eb301e68956b.zip | |
rewrite and rename issue-107094 to rmake
Diffstat (limited to 'tests/ui/errors/wrong-target-spec.rs')
| -rw-r--r-- | tests/ui/errors/wrong-target-spec.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/errors/wrong-target-spec.rs b/tests/ui/errors/wrong-target-spec.rs index d1d0fcc5fa0..bc9038c1fab 100644 --- a/tests/ui/errors/wrong-target-spec.rs +++ b/tests/ui/errors/wrong-target-spec.rs @@ -1,3 +1,8 @@ +// The attentive may note the underscores in the target triple, making it invalid. This test +// checks that such invalid target specs are rejected by the compiler. +// See https://github.com/rust-lang/rust/issues/33329 + +//@ needs-llvm-components: x86 //@ compile-flags: --target x86_64_unknown-linux-musl fn main() {} |
