]> git.lizzy.rs Git - rust.git/commit
Fix sysroot option not being honored across rustc
authorRamon de C Valle <rcvalle@users.noreply.github.com>
Wed, 20 Jan 2021 04:08:30 +0000 (20:08 -0800)
committerRamon de C Valle <rcvalle@users.noreply.github.com>
Wed, 20 Jan 2021 05:32:39 +0000 (21:32 -0800)
commit737867618b3c92330c42b7bb488eb0ee387f2e04
tree54f4078bd29815f0fefedc0ffd542fc63e051380
parentfe531d5a5f1404281e3fb237daaf87b8180bd13d
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.
compiler/rustc_codegen_ssa/src/back/link.rs