Skip to content

Commit 8f184be

Browse files
committed
Pin to nightly-2025-02-22 compiler for some CI tests
1 parent 8e893ed commit 8f184be

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,15 @@ jobs:
5151
rustup toolchain add nightly
5252
rustup target add x86_64-fortanix-unknown-sgx --toolchain nightly
5353
rustup update
54+
# nightly-2025-02-22 and following are buggy which causes some crates not to compile
55+
rustup install nightly-2025-02-22
56+
rustup +nightly-2025-02-22 target add x86_64-fortanix-unknown-sgx
5457
5558
- name: Cargo test --all --exclude sgxs-loaders
5659
run: cargo test --verbose --locked --all --exclude sgxs-loaders --exclude async-usercalls && [ "$(echo $(nm -D target/debug/sgx-detect|grep __vdso_sgx_enter_enclave))" = "w __vdso_sgx_enter_enclave" ]
5760

5861
- name: cargo test -p async-usercalls --target x86_64-fortanix-unknown-sgx --no-run
59-
run: cargo +nightly test --verbose --locked -p async-usercalls --target x86_64-fortanix-unknown-sgx --no-run
62+
run: cargo +nightly-2025-02-22 test --verbose --locked -p async-usercalls --target x86_64-fortanix-unknown-sgx --no-run
6063

6164
- name: Nightly test -p dcap-artifact-retrieval --target x86_64-fortanix-unknown-sgx --no-default-features --no-run
6265
run: cargo +nightly test --verbose --locked -p dcap-artifact-retrieval --target x86_64-fortanix-unknown-sgx --no-default-features --no-run

doc/generate-api-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ for LIB in $LIBS_SORTED; do
6161
if grep -q 'feature(sgx_platform)' ./src/lib.rs; then
6262
ARGS+=" --target x86_64-fortanix-unknown-sgx"
6363
fi
64-
cargo +nightly doc --no-deps --lib $ARGS
64+
cargo +nightly-2025-02-22 doc --no-deps --lib $ARGS
6565
popd
6666
fi
6767
done

0 commit comments

Comments
 (0)