about summary refs log tree commit diff
path: root/library/std/src/sys/pal/teeos/thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/pal/teeos/thread.rs')
-rw-r--r--library/std/src/sys/pal/teeos/thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/teeos/thread.rs b/library/std/src/sys/pal/teeos/thread.rs
index 15c65240ddd..c779c5f3ed8 100644
--- a/library/std/src/sys/pal/teeos/thread.rs
+++ b/library/std/src/sys/pal/teeos/thread.rs
@@ -16,7 +16,7 @@ pub struct Thread {
 unsafe impl Send for Thread {}
 unsafe impl Sync for Thread {}
 
-extern "C" {
+unsafe extern "C" {
     pub fn TEE_Wait(timeout: u32) -> u32;
 }