54b26f49e6
Now that the compiler accepts "-Z instrument-xray" option only when targeting one of the supported targets, make sure to not run the codegen tests where the compiler will fail. Like with other compiletests, we don't have access to internals, so simply hardcode a list of supported architectures here.
10 lines
286 B
Rust
10 lines
286 B
Rust
// Checks that `-Z instrument-xray` allows `always` and `never` sequentially.
|
|
// (The last specified setting wins, like `-Z instrument-xray=no` as well.)
|
|
//
|
|
// needs-xray
|
|
// compile-flags: -Z instrument-xray=always
|
|
// compile-flags: -Z instrument-xray=never
|
|
// check-pass
|
|
|
|
fn main() {}
|