libstd/rand/os.rs: Remove a tiny bit of duplicated code
It's nearly midnight. I'm tired. I'll look for something worth doing in the morning :)
This commit is contained in:
parent
b213c947f8
commit
ad39fcc535
1 changed files with 1 additions and 3 deletions
|
@ -41,9 +41,7 @@ mod imp {
|
|||
const NR_GETRANDOM: libc::c_long = 318;
|
||||
#[cfg(target_arch = "x86")]
|
||||
const NR_GETRANDOM: libc::c_long = 355;
|
||||
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
|
||||
const NR_GETRANDOM: libc::c_long = 384;
|
||||
#[cfg(target_arch = "powerpc")]
|
||||
#[cfg(any(target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc"))]
|
||||
const NR_GETRANDOM: libc::c_long = 384;
|
||||
|
||||
unsafe {
|
||||
|
|
Loading…
Add table
Reference in a new issue