Skip to content

Commit

Permalink
fix default_alloc import error
Browse files Browse the repository at this point in the history
  • Loading branch information
Cupnfish committed Mar 22, 2024
1 parent 5bcd870 commit 02d1ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/global_alloc_macro/default_alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#[macro_export]
macro_rules! default_alloc {
() => {
default_alloc!(4 * 1024, 516 * 1024, 64);
$crate::default_alloc!(4 * 1024, 516 * 1024, 64);
};
($fixed_block_heap_size:expr, $heap_size:expr, $min_block_size:expr) => {
static mut _BUDDY_HEAP: [u8; $heap_size] = [0u8; $heap_size];
Expand Down

0 comments on commit 02d1ce8

Please sign in to comment.