diff --git a/examples/gum/linux_no_std/src/main.rs b/examples/gum/linux_no_std/src/main.rs index 57db8c85..65a71f22 100644 --- a/examples/gum/linux_no_std/src/main.rs +++ b/examples/gum/linux_no_std/src/main.rs @@ -44,7 +44,7 @@ static ALLOC: Bump<[u8; HEAP_SIZE]> = Bump::uninit(); #[no_mangle] extern "C" fn main() { println!("NOSTD START"); - let gum = unsafe { Gum::obtain() }; + let gum = Gum::obtain(); println!("gum: {:p}", &gum); println!("NOSTD DONE"); unsafe { _exit(0) };