Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
domenukk committed Oct 29, 2024
1 parent e3fb1fe commit f2e5312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/gum/linux_no_std/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) };
Expand Down

0 comments on commit f2e5312

Please sign in to comment.