File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ enclave-test:
4242untrusted-test :
4343 @echo " Running untrusted crate tests..."
4444 @echo " Testing sgx-types..."
45- @cd sgx-types && cargo test --features urts
45+ @cargo +stable test --manifest-path sgx-types/Cargo.toml --features urts
4646 @echo " Testing sgx-urts..."
47- @cd sgx-urts && cargo test --features simulate_utils
47+ @cargo +stable test --manifest-path sgx-urts/Cargo.toml --no-default-features --features simulate_utils
4848 @echo " Testing sgx-build..."
49- @cd sgx-build && cargo test
49+ @cargo +stable test --manifest-path sgx-build/Cargo.toml
5050 @echo " Testing cargo-sgx..."
51- @cd cargo-sgx && cargo test
51+ @cargo +stable test --manifest-path cargo-sgx/Cargo.toml
5252
5353.PHONY : toml-fmt
5454toml-fmt :
Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ name = "sgx_urts"
1212crate-type = [" rlib" ]
1313
1414[features ]
15- default = []
15+ default = [" signal " ]
1616global_init = [" global_exit" ]
1717global_exit = [" global_init" ]
1818simulate_utils = [" tracing" , " object" , " iced-x86" ]
19+ signal = []
1920
2021[dependencies ]
2122sgx-types = { path = " ../sgx-types" , default-features = false , features = [" urts" ] }
Original file line number Diff line number Diff line change 1515// specific language governing permissions and limitations
1616// under the License..
1717
18- #![ feature( linkage) ]
18+ #![ cfg_attr ( feature = "signal" , feature ( linkage) ) ]
1919#![ allow( clippy:: not_unsafe_ptr_arg_deref) ]
2020
2121pub mod asyncio;
@@ -27,6 +27,7 @@ pub mod mem;
2727pub mod net;
2828pub mod pipe;
2929pub mod process;
30+ #[ cfg( feature = "signal" ) ]
3031pub mod signal;
3132#[ cfg( feature = "simulate_utils" ) ]
3233pub mod simulate;
You can’t perform that action at this time.
0 commit comments