Skip to content

Commit

Permalink
Disable rustls windows cross-compile test
Browse files Browse the repository at this point in the history
Rustls no longer works for cross-compiling due to switching to aws-lc
(from ring). It seems to want to run `.bat` files for some NASM-related
stuff.

We could, in the future, expose `ring` as a rustls backend as a feature
if someone wants to continue using that.
  • Loading branch information
ehuss committed Sep 20, 2024
1 parent 6219928 commit 23c3d83
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,7 +6,12 @@ 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.
cargo test --target $TARGET --no-run --features rustls,static-curl
# Note: Cross-compiling rustls on windows doesn't work due to requiring some
# NASM build stuff in aws_lc_rs.
if [ "$TARGET" != "x86_64-pc-windows-gnu" ]
then
cargo test --target $TARGET --no-run --features rustls,static-curl
fi
# Then with all extra protocols enabled.
cargo test --target $TARGET --no-run --features static-curl,protocol-ftp,ntlm
if [ -z "$NO_RUN" ]; then
Expand Down

0 comments on commit 23c3d83

Please sign in to comment.