Skip to content

Commit

Permalink
Remove aarch64-pc-windows-msvc
Browse files Browse the repository at this point in the history
This build does not work currently due to an issue in ring, see rust-cross/cargo-xwin#76
  • Loading branch information
ekzhang committed Sep 22, 2024
1 parent 5509d66 commit 0218864
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ cargo build --release --target aarch64-apple-darwin
cross build --release --target x86_64-unknown-freebsd

# *-pc-windows-msvc: for Windows, requires cargo-xwin
cargo xwin build -p sshx --release --target x86_64-pc-windows-msvc
cargo xwin build -p sshx --release --target i686-pc-windows-msvc
cargo xwin build -p sshx --release --target aarch64-pc-windows-msvc
XWIN_ARCH=x86,x86_64,aarch64 cargo xwin build -p sshx --release --target x86_64-pc-windows-msvc
XWIN_ARCH=x86,x86_64,aarch64 cargo xwin build -p sshx --release --target i686-pc-windows-msvc
# Does not work, see https://github.com/rust-cross/cargo-xwin/issues/76
# XWIN_ARCH=x86,x86_64,aarch64 cargo xwin build -p sshx --release --target aarch64-pc-windows-msvc

temp=$(mktemp)
targets=(
Expand All @@ -68,7 +69,7 @@ do
aws s3 cp $temp s3://sshx/sshx-server-$target.tar.gz
else
echo "compress: target/$target/release/sshx.exe"
zip -j $temp target/$target/release/sshx.exe
rm $temp && zip -j $temp target/$target/release/sshx.exe
aws s3 cp $temp s3://sshx/sshx-$target.zip
fi
done
4 changes: 2 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@
href="https://sshx.s3.amazonaws.com/sshx-i686-pc-windows-msvc.zip"
>Windows x86</DownloadLink
>
<DownloadLink
<!-- <DownloadLink
href="https://sshx.s3.amazonaws.com/sshx-aarch64-pc-windows-msvc.zip"
>Windows ARM64</DownloadLink
>
> -->
</div>
</div>
</section>
Expand Down

0 comments on commit 0218864

Please sign in to comment.