From 19d92a94768b8e6364491a8394425cd3d0cffa0e Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 10 Jun 2024 22:13:21 +0800 Subject: [PATCH] make_vendor_tarball: stop trying to excise winapi errno no longer depends on winapi, and nothing else does either. Stop trying to remove it. --- build_tools/make_vendor_tarball.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build_tools/make_vendor_tarball.sh b/build_tools/make_vendor_tarball.sh index 1da591d1f..da36462d1 100755 --- a/build_tools/make_vendor_tarball.sh +++ b/build_tools/make_vendor_tarball.sh @@ -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 -