about summary refs log tree commit diff
path: root/tests/ui/instrument-xray/platform-support.rs
blob: 238018b348deeeabf1a3658aea71f1466ffc00fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//@ only-nightly (flag is still unstable)
//@ needs-xray

//@ revisions: unsupported
//@[unsupported] needs-llvm-components: x86
//@[unsupported] compile-flags: -Z instrument-xray --target=x86_64-pc-windows-msvc

//@ revisions: x86_64-linux
//@[x86_64-linux] needs-llvm-components: x86
//@[x86_64-linux] compile-flags: -Z instrument-xray --target=x86_64-unknown-linux-gnu
//@[x86_64-linux] check-pass

//@ revisions: x86_64-darwin
//@[x86_64-darwin] needs-llvm-components: x86
//@[x86_64-darwin] compile-flags: -Z instrument-xray --target=x86_64-apple-darwin
//@[x86_64-darwin] check-pass

//@ revisions: aarch64-darwin
//@[aarch64-darwin] needs-llvm-components: aarch64
//@[aarch64-darwin] compile-flags: -Z instrument-xray --target=aarch64-apple-darwin
//@[aarch64-darwin] check-pass

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

//[unsupported]~? ERROR XRay instrumentation is not supported for this target