From 32970613cc4a02bbded113cc55be5b4e2b672784 Mon Sep 17 00:00:00 2001 From: Able Date: Sat, 9 Apr 2022 11:32:23 -0500 Subject: [PATCH] add a random call --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 08ee8c2..46b24bf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,3 +7,7 @@ pub mod process; pub mod syscalls; pub use core::*; + +extern "C" { + pub fn get_random() -> u32; +}