Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Taowyoo committed Dec 12, 2023
1 parent c1863a5 commit 4647312
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ case "$TRAVIS_RUST_VERSION" in
# The SGX target cannot be run under test like a ELF binary
if [ "$TARGET" != "x86_64-fortanix-unknown-sgx" ]; then
# make sure that explicitly providing the default target works
cargo nextest run --features "$FEAT" --target $TARGET --release
cargo nextest run --features "$FEAT"pkcs12 --target $TARGET
cargo nextest run --features "$FEAT"pkcs12_rc2 --target $TARGET
cargo nextest run --features "$FEAT"dsa --target $TARGET
# cargo nextest run --features "$FEAT" --target $TARGET --release
# cargo nextest run --features "$FEAT"pkcs12 --target $TARGET
# cargo nextest run --features "$FEAT"pkcs12_rc2 --target $TARGET
# cargo nextest run --features "$FEAT"dsa --target $TARGET

# If AES-NI is supported, test the feature
if [ -n "$AES_NI_SUPPORT" ]; then
Expand All @@ -47,8 +47,8 @@ case "$TRAVIS_RUST_VERSION" in
cargo nextest run --no-default-features --features no_std_deps --target $TARGET
fi
if [[ "$TARGET" =~ ^x86_64-pc-windows- ]]; then
cargo nextest run --no-default-features --features "$FEAT"no_std_deps --target $TARGET
cargo nextest run --no-default-features --features "$FEAT"std --target $TARGET
cargo nextest run --no-default-features --features "$FEAT"no_std_deps --target $TARGET
fi

else
Expand Down
2 changes: 1 addition & 1 deletion mbedtls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pin-project-lite = "0.2"
cc = "1.0"

# feature 'time` is necessary under windows
[target.'cfg(target_os = "windows")']
[target.'cfg(target_env = "msvc")'.dependencies]
mbedtls-platform-support = { version = "0.1", path = "../mbedtls-platform-support", features = [
"time",
] }
Expand Down

0 comments on commit 4647312

Please sign in to comment.