mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
10 lines
306 B
Rust
10 lines
306 B
Rust
// 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]
|