summary refs log tree commit diff
path: root/tests/ui/errors/wrong-target-spec.rs
blob: 9b31c943e3e984e274a993c6abde0e5a30bdad8e (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"