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

This commit is contained in:
Jared Stanbrough 2021-10-20 12:25:00 -07:00 committed by GitHub
parent 44e9013f64
commit eb7a615c96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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