Skip to content

Commit 88b013f

Browse files
flaubSchmErik
authored andcommitted
Use static impl for thread_local
1 parent 54ac017 commit 88b013f

File tree

1 file changed

+5
-1
lines changed
  • library/std/src/sys/thread_local

1 file changed

+5
-1
lines changed

library/std/src/sys/thread_local/mod.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
// "static" is for single-threaded platforms where a global static is sufficient.
88

99
cfg_if::cfg_if! {
10-
if #[cfg(any(all(target_family = "wasm", not(target_feature = "atomics")), target_os = "uefi"))] {
10+
if #[cfg(any(
11+
all(target_family = "wasm", not(target_feature = "atomics")),
12+
target_os = "uefi",
13+
target_os = "zkvm"
14+
))] {
1115
#[doc(hidden)]
1216
mod static_local;
1317
#[doc(hidden)]

0 commit comments

Comments
 (0)