]> git.lizzy.rs Git - rust.git/commit
rustc: Fix more verbatim paths leaking to gcc
authorAlex Crichton <alex@alexcrichton.com>
Tue, 5 May 2015 22:19:36 +0000 (15:19 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 5 May 2015 22:21:52 +0000 (15:21 -0700)
commit2dc0e561634d91bd788e86461b08f2eb52049ac7
treeca51ec0f4981f1e924ef793da8bb562bd49ed018
parent70db76602e0fbd88c718e4f564b90a8819978773
rustc: Fix more verbatim paths leaking to gcc

Turns out that a verbatim path was leaking through to gcc via the PATH
environment variable (pointing to the bundled gcc provided by the main
distribution) which was wreaking havoc when gcc itself was run. The fix here is
to just stop passing verbatim paths down by adding more liberal uses of
`fix_windows_verbatim_for_gcc`.

Closes #25072
src/librustc/lib.rs
src/librustc/metadata/filesearch.rs
src/librustc/session/mod.rs
src/librustc/util/fs.rs [new file with mode: 0644]
src/librustc_driver/driver.rs
src/librustc_trans/back/link.rs