about summary refs log tree commit diff
path: root/tests/ui/errors/wrong-target-spec.rs
blob: a3a0e05d82662edfe1f7545739c40080c8811145 (plain)
1
2
3
4
5
6
7
8
9
10
// 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() {}

//~? ERROR error loading target specification: could not find specification for target "x86_64_unknown-linux-musl"