]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/sys/unix/thread_parker/pthread.rs
Auto merge of #100539 - joboet:horizon_timeout_clock, r=thomcc
[rust.git] / library / std / src / sys / unix / thread_parker / pthread.rs
index c400c7715676f7856d47e3be8ed83e0c839cd340..510168a010fcd3541fcd69e4fcf993648eb154f0 100644 (file)
@@ -44,7 +44,8 @@ unsafe fn wait_timeout(
         target_os = "macos",
         target_os = "ios",
         target_os = "watchos",
-        target_os = "espidf"
+        target_os = "espidf",
+        target_os = "horizon",
     ))]
     let (now, dur) = {
         use crate::cmp::min;
@@ -70,7 +71,8 @@ unsafe fn wait_timeout(
         target_os = "macos",
         target_os = "ios",
         target_os = "watchos",
-        target_os = "espidf"
+        target_os = "espidf",
+        target_os = "horizon",
     )))]
     let (now, dur) = {
         use crate::sys::time::Timespec;