mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
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.
8 lines
257 B
Rust
8 lines
257 B
Rust
// Checks that `-Z instrument-xray` does not allow duplicates.
|
|
//
|
|
// needs-xray
|
|
// compile-flags: -Z instrument-xray=ignore-loops,ignore-loops
|
|
// error-pattern: incorrect value `ignore-loops,ignore-loops` for unstable option `instrument-xray`
|
|
|
|
fn main() {}
|