Skip to content

Commit 54df1b3

Browse files
authored
Rollup merge of #119653 - devnexen:update_fuchsia_compiler_rt_support, r=petrochenkov
compiler: update Fuchsia sanitizer support.
2 parents 1d6ab69 + d70f0e3 commit 54df1b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_target/src/spec/targets/x86_64_unknown_fuchsia.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ pub fn target() -> Target {
66
base.plt_by_default = false;
77
base.max_atomic_width = Some(64);
88
base.stack_probes = StackProbeType::Inline;
9-
base.supported_sanitizers = SanitizerSet::ADDRESS | SanitizerSet::CFI;
9+
base.supported_sanitizers = SanitizerSet::ADDRESS | SanitizerSet::CFI | SanitizerSet::LEAK;
10+
base.supports_xray = true;
1011

1112
Target {
1213
llvm_target: "x86_64-unknown-fuchsia".into(),

0 commit comments

Comments
 (0)