Skip to content

Commit

Permalink
Try to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenByteDev committed Jun 5, 2023
1 parent 5df09d9 commit b1dd461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/helpers/test_payload/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ pub extern "C" fn sum_10_raw_c(
#[no_mangle]
pub extern "C" fn crash() {
let ptr = std::ptr::null_mut::<u32>();
unsafe { *ptr };
std::hint::black_box(unsafe { *std::hint::black_box(ptr) });
}

0 comments on commit b1dd461

Please sign in to comment.