rust/compiler
León Orell Valerian Liehr e323c64fa4
Rollup merge of #141045 - dpaoliello:noarmhazard, r=jieyouxu
[win][arm64] Remove 'Arm64 Hazard' undocumented MSVC option and instead disable problematic test

PR #140758 added the undocumented `/arm64hazardfree` MSVC linker flag to work around a test failure where LLVM generated code that would trip a hazard in an outdated ARM processor.

Adding this flag caused issues with LLD, as it doesn't recognize it.

Rethinking the issue, using the undocumented flag seems like the incorrect solution: there's no guarantee that the flag won't be removed in the future, or change its meaning.

Instead, I've disabled the problematic test for Arm64 Windows and have filed a bug with the MSVC team to have the check removed: <https://developercommunity.microsoft.com/t/Remove-checking-for-and-fixing-Cortex-A/10905134>

This PR supersedes #140977

r? ```@jieyouxu```
2025-05-18 11:03:46 +02:00
..
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:30 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-11 14:37:54 +10:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00