From eb7a615c96c7c568654141e470cd4c1a43d65af4 Mon Sep 17 00:00:00 2001 From: Jared Stanbrough Date: Wed, 20 Oct 2021 12:25:00 -0700 Subject: [PATCH] tokio: add riscv32 to non atomic64 architectures (#4185) --- 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 051713f1c..3afc04023 100644 --- a/tokio/src/macros/cfg.rs +++ b/tokio/src/macros/cfg.rs @@ -422,7 +422,8 @@ macro_rules! cfg_has_atomic_u64 { #[cfg(not(any( target_arch = "arm", target_arch = "mips", - target_arch = "powerpc" + target_arch = "powerpc", + target_arch = "riscv32" )))] $item )* @@ -435,7 +436,8 @@ macro_rules! cfg_not_has_atomic_u64 { #[cfg(any( target_arch = "arm", target_arch = "mips", - target_arch = "powerpc" + target_arch = "powerpc", + target_arch = "riscv32" ))] $item )*