about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-06-24 20:46:07 +0200
committerGitHub <noreply@github.com>2025-06-24 20:46:07 +0200
commit00890953318c66614ce2b36740cded592b32b814 (patch)
treedaf425300fd261d6cbc09f265a52336bbb1708ba
parent4488018ef89d4a3015ba266bb1eada1b607ec176 (diff)
parentd9395825f9d035133a3b3799c8253b43f277b9cb (diff)
downloadrust-00890953318c66614ce2b36740cded592b32b814.tar.gz
rust-00890953318c66614ce2b36740cded592b32b814.zip
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

rust-lang/rust#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.
-rw-r--r--tests/run-make/c-link-to-rust-va-list-fn/rmake.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run-make/c-link-to-rust-va-list-fn/rmake.rs b/tests/run-make/c-link-to-rust-va-list-fn/rmake.rs
index 426d65b7af3..cca528c4252 100644
--- a/tests/run-make/c-link-to-rust-va-list-fn/rmake.rs
+++ b/tests/run-make/c-link-to-rust-va-list-fn/rmake.rs
@@ -5,6 +5,7 @@
 
 //@ needs-target-std
 //@ ignore-android: FIXME(#142855)
+//@ ignore-sgx: (x86 machine code cannot be directly executed)
 
 use run_make_support::{cc, extra_c_flags, run, rustc, static_lib_name};