Skip to content

Commit

Permalink
Correct definition of MADV_SOFT_OFFLINE on ppc
Browse files Browse the repository at this point in the history
Rust has no "ppc" target_arch.  It should be "powerpc" or "powerpc64".
  • Loading branch information
asomers committed Oct 16, 2021
1 parent da49e4f commit 64ecb88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sys/mman.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ libc_enum!{
all(target_os = "linux", any(
target_arch = "aarch64",
target_arch = "arm",
target_arch = "ppc",
target_arch = "powerpc",
target_arch = "powerpc64",
target_arch = "s390x",
target_arch = "x86",
target_arch = "x86_64",
Expand Down

0 comments on commit 64ecb88

Please sign in to comment.