mirror of
https://github.com/rust-lang/rust
synced 2024-10-03 07:14:34 +00:00
Auto merge of #30512 - semarie:openbsd-libc, r=alexcrichton
- upgrades libc to version with `si_addr` support in openbsd - declares libc use for getentropy - remove now unused use r? @alexcrichton
This commit is contained in:
commit
8cd034de9f
|
@ -1 +1 @@
|
|||
Subproject commit 4b9b07c71997da23d5d1e3035cd16a5855b94ecc
|
||||
Subproject commit e0c0bf439add63a6a25a25ba47e4aec9547bf9af
|
|
@ -182,8 +182,8 @@ fn fill_bytes(&mut self, v: &mut [u8]) {
|
|||
#[cfg(target_os = "openbsd")]
|
||||
mod imp {
|
||||
use io;
|
||||
use libc;
|
||||
use mem;
|
||||
use libc::c_long;
|
||||
use sys::os::errno;
|
||||
use rand::Rng;
|
||||
|
||||
|
|
Loading…
Reference in a new issue