From c9b213d72ad152bb40f4ec0ebe772b761fbab3dd Mon Sep 17 00:00:00 2001 From: Ellen Poe Date: Mon, 31 Jan 2022 18:13:08 -0800 Subject: [PATCH] Use a mutex for 64 bit atomics on xtensa --- tokio/src/macros/cfg.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tokio/src/macros/cfg.rs b/tokio/src/macros/cfg.rs index 3b8fd3a7890..27aa5d24deb 100644 --- a/tokio/src/macros/cfg.rs +++ b/tokio/src/macros/cfg.rs @@ -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 )* @@ -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 )*