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

// ignore-tidy-target-specific-tests
//@ 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"