Skip to content

Commit

Permalink
Don't try rustls on i686-pc-windows-msvc
Browse files Browse the repository at this point in the history
It requires nasm to be installed, and I don't want to hassle with that
right now.
  • Loading branch information
ehuss committed Sep 20, 2024
1 parent 8a6cde2 commit 37ddb50
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ cargo test --target $TARGET --no-run
# First test with no extra protocols enabled.
cargo test --target $TARGET --no-run --features static-curl
# Then with rustls TLS backend.
#
# Note: Cross-compiling rustls on windows doesn't work due to requiring some
# NASM build stuff in aws_lc_rs, which may soon be fixed by
# https://github.com/aws/aws-lc-rs/pull/528.
if [ "$TARGET" != "x86_64-pc-windows-gnu" ]
#
# Compiling on i686-windows requires nasm to be installed (other platforms
# have pre-compiled object files), which is just slightly too much
# inconvenience for me.
if [ "$TARGET" != "x86_64-pc-windows-gnu" ] && [ "$TARGET" != "i686-pc-windows-msvc" ]
then
cargo test --target $TARGET --no-run --features rustls,static-curl
fi
Expand Down

0 comments on commit 37ddb50

Please sign in to comment.