Skip to content

Commit ef6d8a8

Browse files
bjorn3gitbot
authored and
gitbot
committed
Fix for SGX
1 parent 430e7c8 commit ef6d8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/tests/sync/once_lock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ fn sync_once_cell_does_not_leak_partially_constructed_boxes() {
164164
break;
165165
}
166166
#[cfg(target_env = "sgx")]
167-
crate::thread::yield_now();
167+
std::thread::yield_now();
168168
}
169169
});
170170
}

0 commit comments

Comments
 (0)