mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
27abbc208f
Fix sysroot option not being honored across rustc Change link_sanitizer_runtime() to check if the sanitizer library exists in the specified/session sysroot, and if it doesn't exist, use the default sysroot. (See #79253.)
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.