Skip to content

Commit

Permalink
Use a mutex for 64 bit atomics on xtensa
Browse files Browse the repository at this point in the history
  • Loading branch information
ellenhp committed Feb 1, 2022
1 parent f602410 commit 3227fae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tokio/src/macros/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,8 @@ macro_rules! cfg_has_atomic_u64 {
target_arch = "arm",
target_arch = "mips",
target_arch = "powerpc",
target_arch = "riscv32"
target_arch = "riscv32",
target_arch = "xtensa"
)))]
$item
)*
Expand All @@ -439,7 +440,8 @@ macro_rules! cfg_not_has_atomic_u64 {
target_arch = "arm",
target_arch = "mips",
target_arch = "powerpc",
target_arch = "riscv32"
target_arch = "riscv32",
target_arch = "xtensa"
))]
$item
)*
Expand Down

0 comments on commit 3227fae

Please sign in to comment.