Publish import library for MinGW release artifacts (#3170)

This is produced by rust and forgotten to be placed into the release tarball.

Closes #3169
This commit is contained in:
Alex Crichton
2021-08-09 11:37:25 -05:00
committed by GitHub
parent a7cf6bf9aa
commit 44f9ccd316

View File

@@ -50,7 +50,7 @@ if [ "$platform" = "x86_64-windows" ]; then
rm dist/$bin_pkgname.wixpdb rm dist/$bin_pkgname.wixpdb
elif [ "$platform" = "x86_64-mingw" ]; then elif [ "$platform" = "x86_64-mingw" ]; then
cp target/x86_64-pc-windows-gnu/release/wasmtime.exe tmp/$bin_pkgname cp target/x86_64-pc-windows-gnu/release/wasmtime.exe tmp/$bin_pkgname
cp target/x86_64-pc-windows-gnu/release/{wasmtime.dll,libwasmtime.a} tmp/$api_pkgname/lib cp target/x86_64-pc-windows-gnu/release/{wasmtime.dll,libwasmtime.a,libwasmtime.dll.a} tmp/$api_pkgname/lib
fmt=zip fmt=zip
elif [ "$platform" = "x86_64-macos" ]; then elif [ "$platform" = "x86_64-macos" ]; then
# Postprocess the macOS dylib a bit to have a more reasonable `LC_ID_DYLIB` # Postprocess the macOS dylib a bit to have a more reasonable `LC_ID_DYLIB`