rust/tests/ui/instrument-xray/target-not-supported.stderr
Oleksii Lozovskyi 3561dc948c Emit an error if -Z instrument-xray is not supported
This is somewhat important because LLVM enables the pass based on
target architecture, but support by the target OS also matters.

For example, XRay attributes are processed by codegen for macOS
targets, but Apple linker fails to process relocations in XRay
data sections, so the feature as a whole is not supported there
for the time being.
2023-02-09 12:29:40 +09:00

5 lines
101 B
Plaintext

error: XRay instrumentation is not supported for this target
error: aborting due to previous error