Skip to content

Commit 2c86c70

Browse files
Rollup merge of #142965 - raoulstrackx:raoul/rte-497-fix_c-link-to-rust-va-list-fn_test, r=jieyouxu
[RTE-497] Ignore `c-link-to-rust-va-list-fn` test on SGX platform #141856 enables using the runner defined in bootstrap.toml to execute run-make tests. A test was added for this feature that compiles a Rust library and C code, links them together and passes the result to the runner. Unfortunately, that's not sufficient for the SGX platform; x86 machine code cannot be directly executed. This PR fixes the issue by disabling this test for SGX.
2 parents 638ebf7 + d939582 commit 2c86c70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/run-make/c-link-to-rust-va-list-fn/rmake.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
//@ needs-target-std
77
//@ ignore-android: FIXME(#142855)
8+
//@ ignore-sgx: (x86 machine code cannot be directly executed)
89

910
use run_make_support::{cc, extra_c_flags, run, rustc, static_lib_name};
1011

0 commit comments

Comments
 (0)