Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aditijannu committed Jun 4, 2024
1 parent 6fc0b33 commit 93a9e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snmalloc-edp/tests/global_alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ fn test() {
struct Page([u8; 0x1000]);

// allocate a dummy heap
let _heap = (*Box::into_raw(vec![Page([0; 4096]); 100].into_boxed_slice())).as_mut_ptr_range();
let heap = (*Box::into_raw(vec![Page([0; 4096]); 100].into_boxed_slice())).as_mut_ptr_range();

sn_global_init();
sn_global_init(heap.start as _, heap.end as _);
}

type AllocTestType = [u64; 20];
Expand Down

0 comments on commit 93a9e46

Please sign in to comment.