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 )*