Test XRay only for supported targets
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.
This commit is contained in:
parent
3561dc948c
commit
54b26f49e6
10 changed files with 23 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
// Checks that `-Z instrument-xray` produces expected instrumentation.
|
||||
//
|
||||
// needs-xray
|
||||
// compile-flags: -Z instrument-xray=always
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue