Skip to content

Commit a40c3e5

Browse files
author
Sinan Nalkaya
committed
Disable rustdoc-test-builder test partially for SGX target.
1 parent 5dbf406 commit a40c3e5

File tree

1 file changed

+4
-1
lines changed
  • tests/run-make/rustdoc-test-builder

1 file changed

+4
-1
lines changed

tests/run-make/rustdoc-test-builder/rmake.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ fn main() {
2525

2626
// Some targets (for example wasm) cannot execute doctests directly even with a runner,
2727
// so only exercise the success path when the target can run on the host.
28-
if target().contains("wasm") || std::env::var_os("REMOTE_TEST_CLIENT").is_some() {
28+
if target().contains("wasm")
29+
|| target().contains("sgx")
30+
|| std::env::var_os("REMOTE_TEST_CLIENT").is_some()
31+
{
2932
return;
3033
}
3134

0 commit comments

Comments
 (0)