]> git.lizzy.rs Git - rust.git/commit
Rename sanitizer runtime libraries on OSX
authorAlex Crichton <alex@alexcrichton.com>
Sat, 29 Sep 2018 19:37:12 +0000 (12:37 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 29 Sep 2018 21:29:05 +0000 (14:29 -0700)
commitb3157601b1dbb231b9725b17580f89475dde9b88
tree589736d658acb3a8d82bb5cb0ee78f415ad3edc4
parent9653f790333d1270f36f1614e85d8a7b54193e75
Rename sanitizer runtime libraries on OSX

Currently we ship sanitizer libraries as they're built, but these names
unfortunately conflict with the names of the sanitizer libraries
installed on the system. If a crate, for example, links in C code that
wants to use the system sanitizer and the Rust code doesn't use
sanitizers at all, then using `cargo` may accidentally pull in the
Rust-installed sanitizer library due to a conflict in names.

This change is intended to be entirely transparent for Rust users of
sanitizers, it should only hopefully improve our story with other users!

Closes #54134
src/bootstrap/compile.rs
src/build_helper/lib.rs
src/librustc_asan/build.rs
src/librustc_tsan/build.rs