tokio: add riscv32 to non atomic64 architectures (#4185)

This commit is contained in:
Jared Stanbrough
2021-10-21 04:25:00 +09:00
committed by GitHub
parent 44e9013f64
commit eb7a615c96
+4 -2
View File
@@ -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
)*