mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Delete bundled gcc libs on windows
This prevents having mismatches between bundled libs and libs on the system (Cargo requires MinGW to compile regardless).
This commit is contained in:
parent
4353abb71d
commit
5d8d6bb5e6
@ -60,6 +60,8 @@ else
|
||||
mv '{app}' rustc
|
||||
# Don't use the bundled gcc, see rust-lang/rust#17442
|
||||
rm -rf rustc/bin/rustlib/$triple/bin
|
||||
# Don't use bundled gcc libs, see rust-lang/rust#19519
|
||||
rm -rf rustc/bin/rustlib/$triple/libmingw*.a
|
||||
rm -f rust-nightly-$triple.exe
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user