about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorRaoul Strackx <raoul.strackx@fortanix.com>2025-08-05 14:51:02 +0200
committerRaoul Strackx <raoul.strackx@fortanix.com>2025-08-05 14:51:39 +0200
commit3a993a611c9f32e34e341794ce19026ad3df2c0f (patch)
tree116b36a5935c5b9a43f87ba215112625bd5122be /library/std
parent0f353363965ebf05e0757f7679c800b39c51a07e (diff)
downloadrust-3a993a611c9f32e34e341794ce19026ad3df2c0f.tar.gz
rust-3a993a611c9f32e34e341794ce19026ad3df2c0f.zip
Ignore sleep_until test on SGX
Diffstat (limited to 'library/std')
-rw-r--r--library/std/tests/thread.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/tests/thread.rs b/library/std/tests/thread.rs
index 32561dd6ab6..29f220d8a70 100644
--- a/library/std/tests/thread.rs
+++ b/library/std/tests/thread.rs
@@ -19,6 +19,7 @@ fn sleep_very_long() {
 }
 
 #[test]
+#[cfg_attr(target_env = "sgx", ignore = "Time within SGX enclave cannot be trusted")]
 fn sleep_until() {
     let now = Instant::now();
     let period = Duration::from_millis(100);