Commit 5900faa
Ensure the library search path from cc_toolchain is preferred over whatever rustc finds in the Windows registry (#3608)
I don't see a good way to stop rustc from adding the non-hermetic
library search path, so put our cc_toolchain library search path on the
command line where it has precedence over the non-hermetic path injected
by rustc.
See
https://rust-lang.zulipchat.com/#narrow/channel/242869-t-compiler.2Fwindows/topic/rust.20LIB.20path
for discussion of the rustc behavior.
Closes #3256.
Co-authored-by: Daniel Wagner-Hall <[email protected]>1 parent 98e494e commit 5900faa
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
485 | 496 | | |
486 | 497 | | |
487 | 498 | | |
| |||
0 commit comments