diff options
| author | Raoul Strackx <raoul.strackx@fortanix.com> | 2025-08-05 14:51:02 +0200 |
|---|---|---|
| committer | Raoul Strackx <raoul.strackx@fortanix.com> | 2025-08-05 14:51:39 +0200 |
| commit | 3a993a611c9f32e34e341794ce19026ad3df2c0f (patch) | |
| tree | 116b36a5935c5b9a43f87ba215112625bd5122be /library/std/tests/thread.rs | |
| parent | 0f353363965ebf05e0757f7679c800b39c51a07e (diff) | |
| download | rust-3a993a611c9f32e34e341794ce19026ad3df2c0f.tar.gz rust-3a993a611c9f32e34e341794ce19026ad3df2c0f.zip | |
Ignore sleep_until test on SGX
Diffstat (limited to 'library/std/tests/thread.rs')
| -rw-r--r-- | library/std/tests/thread.rs | 1 |
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); |
