Enable XRay instrumentation for LoongArch Linux targets · rust-lang/rust@dd66134 (original) (raw)
File tree
3 files changed
lines changed
- compiler/rustc_target/src/spec/targets
3 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -23,6 +23,7 @@ pub(crate) fn target() -> Target { | ||
23 | 23 | | SanitizerSet::LEAK |
24 | 24 | | SanitizerSet::MEMORY |
25 | 25 | | SanitizerSet::THREAD, |
26 | +supports_xray: true, | |
26 | 27 | direct_access_external_data: Some(false), |
27 | 28 | ..base::linux_gnu::opts() |
28 | 29 | }, |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -24,6 +24,7 @@ pub(crate) fn target() -> Target { | ||
24 | 24 | | SanitizerSet::LEAK |
25 | 25 | | SanitizerSet::MEMORY |
26 | 26 | | SanitizerSet::THREAD, |
27 | +supports_xray: true, | |
27 | 28 | ..base::linux_musl::opts() |
28 | 29 | }, |
29 | 30 | } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -22,6 +22,7 @@ pub(crate) fn target() -> Target { | ||
22 | 22 | | SanitizerSet::LEAK |
23 | 23 | | SanitizerSet::MEMORY |
24 | 24 | | SanitizerSet::THREAD, |
25 | +supports_xray: true, | |
25 | 26 | ..base::linux_ohos::opts() |
26 | 27 | }, |
27 | 28 | } |