diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-05-08 13:55:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-08 13:55:45 +0200 |
| commit | 54f1da448601c63c45bdd3ba6380fb07cdf40919 (patch) | |
| tree | 61c6722173c3bd447e69ed83473fc3fd5165759a /compiler/rustc_parse/src | |
| parent | 12d6a47bda0110b82a191a293bb0a41e5c0ce878 (diff) | |
| parent | 75ca6c621e08eb7252bb542b9264e7ab7a8fc4e1 (diff) | |
| download | rust-54f1da448601c63c45bdd3ba6380fb07cdf40919.tar.gz rust-54f1da448601c63c45bdd3ba6380fb07cdf40919.zip | |
Rollup merge of #140758 - dpaoliello:armhazard, r=jieyouxu
[win][arm64] Disable MSVC Linker 'Arm Hazard' warning While trying to get the aarch64-msvc build working correctly (#140136), I observed the following test failure: From <https://github.com/rust-lang/rust/pull/140136#issuecomment-2848179657> ``` = note: main.main.d17f5fbe6225cf88-cgu.0.rcgu.o : fatal error LNK1322: cannot avoid potential ARM hazard (Cortex-A53 MPCore processor bug #843419) in section 0x57; please consider using compiler option /Gy if it was not used ``` This is warning of a code sequence that triggers a bug in Cortex-A53 processors: <https://developer.arm.com/documentation/epm048406/latest> However, since Windows 10 isn't supported on the Cortex-A53, this warning is not required, so it can be suppressed using the undocumented `/arm64hazardfree` flag.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
