]> git.lizzy.rs Git - rust.git/commit
rustc: Try to contain prepends to PATH
authorAlex Crichton <alex@alexcrichton.com>
Sun, 5 Jun 2016 05:30:17 +0000 (22:30 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 5 Jun 2016 07:08:35 +0000 (00:08 -0700)
commit1564e92940fcc50e566bc5031dbc73540523688d
treec71a9bba8192d85394b98e49ab1b19cc67f513f9
parent12238b984abfacb2cccea176f862c94aa1231fb5
rustc: Try to contain prepends to PATH

This commit attempts to bring our prepends to PATH on Windows when loading
plugins because we've been seeing quite a few issues with failing to spawn a
process on Windows, the leading theory of which is that PATH is too large as a
result of this. Currently this is mostly a stab in the dark as it's not
confirmed to actually fix the problem, but it's probably not a bad change to
have anyway!

cc #33844
Closes #17360
src/librustc_driver/driver.rs