Skip to content

Commit

Permalink
tokio: add riscv32 to non atomic64 architectures (tokio-rs#4185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Stanbrough authored and Oliver Giersch committed Oct 28, 2021
1 parent 6ec4f1a commit 3ae93f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tokio/src/macros/cfg.rs
Expand Up @@ -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
)*
Expand All @@ -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
)*
Expand Down

0 comments on commit 3ae93f7

Please sign in to comment.