about summary refs log tree commit diff
path: root/library/std/src/sys/random/fuchsia.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/random/fuchsia.rs')
-rw-r--r--library/std/src/sys/random/fuchsia.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/random/fuchsia.rs b/library/std/src/sys/random/fuchsia.rs
index 77d72b3c5b7..269e0d9aeeb 100644
--- a/library/std/src/sys/random/fuchsia.rs
+++ b/library/std/src/sys/random/fuchsia.rs
@@ -4,7 +4,7 @@
 //! <https://fuchsia.dev/reference/syscalls/cprng_draw>.
 
 #[link(name = "zircon")]
-extern "C" {
+unsafe extern "C" {
     fn zx_cprng_draw(buffer: *mut u8, len: usize);
 }