Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tell rustc that we will always be providing clangrt libraries
This prevents rustc from trying to link sanitizer runtimes, so we don't need to make fake ones in our sysroot anymore. And this avoids rustc trying to link the Linux runtime when we're targeting Windows due to rust-lang/rust#131363. When this flag is specified, rustc avoids adding sanitizer libraries here: https://github.com/rust-lang/rust/blob/7caad6925314911eefe54b040d4bc5be940e8f92/compiler/rustc_codegen_ssa/src/back/link.rs#L1263-L1267 R=hans@chromium.org Bug: 371512562 Cq-Include-Trybots: luci.chromium.try:win-asan,android-rust-arm32-rel,android-rust-arm64-dbg,android-rust-arm64-rel,linux-rust-x64-rel,linux-rust-x64-dbg,mac-rust-x64-dbg,win-rust-x64-dbg,win-rust-x64-rel,mac_chromium_asan_rel_ng,linux_chromium_asan_rel_ng Change-Id: Ifcc6cb841af2697c6ca5ab3b64adcc995683fbc6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5913992 Commit-Queue: danakj <danakj@chromium.org> Reviewed-by: Arthur Eubanks <aeubanks@google.com> Cr-Commit-Position: refs/heads/main@{#1365077} NOKEYCHECK=True GitOrigin-RevId: 7d029cad43d3bf03b0464d9e3c55cc0f8b5474e2
- Loading branch information