mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 12:04:39 +08:00
make_vendor_tarball: stop trying to excise winapi
errno no longer depends on winapi, and nothing else does either. Stop trying to remove it.
This commit is contained in:
parent
20e9c9493c
commit
19d92a9476
|
@ -45,12 +45,6 @@ cd "$PREFIX_TMPDIR"
|
|||
mkdir .cargo
|
||||
cargo vendor --manifest-path "$wd/Cargo.toml" > .cargo/config
|
||||
|
||||
# vendoring drags in a lot of Windows dependencies, which makes the resulting tarball enormous
|
||||
# cargo can't be told only to support a particular platform
|
||||
# see https://github.com/rust-lang/cargo/issues/7058
|
||||
# workaround below from https://github.com/rust-lang/cargo/issues/7058#issuecomment-751856262
|
||||
rm -r vendor/winapi*/lib/*.a
|
||||
|
||||
tar cfvJ $path.xz vendor .cargo
|
||||
|
||||
cd -
|
||||
|
|
Loading…
Reference in New Issue
Block a user