To avoid linker errors like
relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against `.data.rel.ro..L.hwasan'
we need to have `-C target-feature=+tagged-globals`, which is documented here:
https://doc.rust-lang.org/beta/unstable-book/compiler-flags/sanitizer.html#hwaddresssanitizer
7 lines
329 B
Text
7 lines
329 B
Text
warning: unknown and unstable feature specified for `-Ctarget-feature`: `tagged-globals`
|
|
|
|
|
= note: it is still passed through to the codegen backend, but use of this feature might be unsound and the behavior of this feature can change in the future
|
|
= help: consider filing a feature request
|
|
|
|
warning: 1 warning emitted
|
|
|