Enable Shadow Call Stack for Fuchsia on AArch64
Fuchsia already uses SCS by default for C/C++ code on ARM hardware. This patch allows SCS to be used for Rust code as well.
This commit is contained in:
parent
7bbbaabbb6
commit
c5bde0699f
@ -8,7 +8,9 @@ pub fn target() -> Target {
|
||||
arch: "aarch64".into(),
|
||||
options: TargetOptions {
|
||||
max_atomic_width: Some(128),
|
||||
supported_sanitizers: SanitizerSet::ADDRESS | SanitizerSet::CFI,
|
||||
supported_sanitizers: SanitizerSet::ADDRESS
|
||||
| SanitizerSet::CFI
|
||||
| SanitizerSet::SHADOWCALLSTACK,
|
||||
..super::fuchsia_base::opts()
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user