Use any() in code shared between FreeBSD and NetBSD
This commit is contained in:
parent
23d221153f
commit
b4f92eaea2
@ -143,7 +143,7 @@ pub fn fill_bytes(v: &mut [u8]) {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(target_os = "freebsd", target_os = "netbsd")]
|
||||
#[cfg(any(target_os = "freebsd", target_os = "netbsd"))]
|
||||
mod imp {
|
||||
use crate::ptr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user