mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
78526e4720
tests/ui/sanitizer/hwaddress.rs: Run on aarch64 and remove cgu hack
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). I learned that [here](https://github.com/llvm/llvm-project/pull/164876#issuecomment-3439034858).
Closes rust-lang/rust#83989
try-job: aarch64-gnu