From 23c3d8338e27be1eb811895d24d7bc852df74724 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Fri, 20 Sep 2024 10:21:49 -0700 Subject: [PATCH] Disable rustls windows cross-compile test 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. --- ci/run.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/run.sh b/ci/run.sh index 6c2dae399..ff03e2884 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -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