Skip to content

Commit

Permalink
Only switch to the generic thread parker on x86-rust9x
Browse files Browse the repository at this point in the history
  • Loading branch information
seritools committed Dec 30, 2023
1 parent 37014a0 commit 75254e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys_common/thread_parking/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cfg_if::cfg_if! {
))] {
mod id;
pub use id::Parker;
} else if #[cfg(all(target_os = "windows", target_vendor = "rust9x"))] {
} else if #[cfg(all(target_arch = "x86", target_os = "windows", target_vendor = "rust9x"))] {
mod generic;
pub use generic::Parker;
} else {
Expand Down

0 comments on commit 75254e5

Please sign in to comment.