mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +00:00
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.