We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38715f7 commit 07a517aCopy full SHA for 07a517a
src/tools/miri/tests/pass-dep/shims/libc-getentropy.rs
@@ -1,12 +1,5 @@
1
//@ignore-target-windows: no libc
2
3
-// on macOS this is not in the `libc` crate.
4
-#[cfg(target_os = "macos")]
5
-extern "C" {
6
- fn getentropy(bytes: *mut libc::c_void, count: libc::size_t) -> libc::c_int;
7
-}
8
-
9
-#[cfg(not(target_os = "macos"))]
10
use libc::getentropy;
11
12
fn main() {
0 commit comments