Skip to content

Commit 912ab64

Browse files
committed
Auto merge of #26567 - Techern:os-dupe-code, r=alexcrichton
It's nearly midnight. I'm tired. I'll look for something worth doing in the morning :)
2 parents 8cf22b5 + ad39fcc commit 912ab64

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libstd/rand/os.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ mod imp {
4141
const NR_GETRANDOM: libc::c_long = 318;
4242
#[cfg(target_arch = "x86")]
4343
const NR_GETRANDOM: libc::c_long = 355;
44-
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
45-
const NR_GETRANDOM: libc::c_long = 384;
46-
#[cfg(target_arch = "powerpc")]
44+
#[cfg(any(target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc"))]
4745
const NR_GETRANDOM: libc::c_long = 384;
4846

4947
unsafe {

0 commit comments

Comments
 (0)