Files
rust/tests/ui/target_modifiers
Leonard Chan b245c07db8 compiler: Account for default_sanitizers when comparing target modifiers
Prior to this PR, rustc would complain about mismatched ABIs if
crates built with -Zsanitizer=shadow-call-stack were mixed with crates
not built with -Zsanitizer=shadow-call-stack for the exact same target
where SCS is one of the default_sanitizers. Rustc should also take into
account default_sanitizers before doing the target modifiers checks.

AI: Gemini was used to initially help write tests for this PR. I
edited some of it and reviewed it to the best of my ability before
submitting.
2026-08-18 23:03:13 +00:00
..