diff options
| author | joboet <jonasboettiger@icloud.com> | 2022-09-06 10:44:05 +0200 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2022-09-09 11:56:50 +0200 |
| commit | 262193e044a4604807a82d2a249dfbbb72a1bade (patch) | |
| tree | 61165a30f19ade625fffd5911101a39b1c29fa88 /library/std/src/sys_common | |
| parent | 4a09adf99fff9b009ff517b9cf5bfce363130e16 (diff) | |
| download | rust-262193e044a4604807a82d2a249dfbbb72a1bade.tar.gz rust-262193e044a4604807a82d2a249dfbbb72a1bade.zip | |
std: use futex-based locks and thread parker on Hermit
Diffstat (limited to 'library/std/src/sys_common')
| -rw-r--r-- | library/std/src/sys_common/thread_parker/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys_common/thread_parker/mod.rs b/library/std/src/sys_common/thread_parker/mod.rs index cbd7832eb7a..f86a9a555d3 100644 --- a/library/std/src/sys_common/thread_parker/mod.rs +++ b/library/std/src/sys_common/thread_parker/mod.rs @@ -7,6 +7,7 @@ cfg_if::cfg_if! { target_os = "openbsd", target_os = "dragonfly", target_os = "fuchsia", + target_os = "hermit", ))] { mod futex; pub use futex::Parker; |
