File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
intel-sgx/fortanix-sgx-abi/src Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,15 @@ jobs:
51
51
rustup toolchain add nightly
52
52
rustup target add x86_64-fortanix-unknown-sgx --toolchain nightly
53
53
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
54
57
55
58
- name : Cargo test --all --exclude sgxs-loaders
56
59
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" ]
57
60
58
61
- 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
60
63
61
64
- name : Nightly test -p dcap-artifact-retrieval --target x86_64-fortanix-unknown-sgx --no-default-features --no-run
62
65
run : cargo +nightly test --verbose --locked -p dcap-artifact-retrieval --target x86_64-fortanix-unknown-sgx --no-default-features --no-run
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ for LIB in $LIBS_SORTED; do
61
61
if grep -q ' feature(sgx_platform)' ./src/lib.rs; then
62
62
ARGS+=" --target x86_64-fortanix-unknown-sgx"
63
63
fi
64
- cargo +nightly doc --no-deps --lib $ARGS
64
+ cargo +nightly-2025-02-22 doc --no-deps --lib $ARGS
65
65
popd
66
66
fi
67
67
done
Original file line number Diff line number Diff line change @@ -881,7 +881,7 @@ invoke_with_abi_spec!(types);
881
881
// function declarations inside all `impl Usercalls` blocks.
882
882
macro_rules! define_invoke_with_usercalls {
883
883
// collect all usercall function declarations in a list
884
- ( @ [ $( $accumulated: tt) * ] $( #[ $meta1: meta] ) * impl Usercalls { $( $( #[ $meta2: meta] ) * pub fn $f: ident( $( $n: ident: $t: ty) ,* ) $( -> $r: tt ) * { unimplemented!( ) } ) * } $( $remainder: tt) * ) =>
884
+ ( @ [ $( $accumulated: tt) * ] $( #[ $meta1: meta] ) * impl Usercalls { $( $( #[ $meta2: meta] ) * pub fn $f: ident( $( $n: ident: $t: ty) ,* ) $( -> $r: ty ) * { unimplemented!( ) } ) * } $( $remainder: tt) * ) =>
885
885
{ define_invoke_with_usercalls!( @ [ $( $accumulated) * $( fn $f( $( $n: $t) ,* ) $( -> $r) * ; ) * ] $( $remainder) * ) ; } ;
886
886
// visit modules
887
887
( @ $accumulated: tt $( #[ $meta: meta] ) * pub mod $modname: ident { $( $contents: tt) * } $( $remainder: tt) * ) =>
You can’t perform that action at this time.
0 commit comments