summaryrefslogtreecommitdiffstats
path: root/tests/ui/instrument-xray/target-not-supported.rs
blob: e6bdd23e8fc3a1315755725498e05daeac77e19a (plain)
1
2
3
4
5
6
7
8
9
// Verifies that `-Z instrument-xray` cannot be used with unsupported targets,
//
// needs-llvm-components: x86
// compile-flags: -Z instrument-xray --target x86_64-apple-darwin
// error-pattern: error: XRay instrumentation is not supported for this target

#![feature(no_core)]
#![no_core]
#![no_main]