Skip to content

Commit 4640741

Browse files
committed
added heap and panic definitions
1 parent 195caff commit 4640741

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

program/rust/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@ pub extern "C" fn entrypoint(input: *mut u8) -> u64 {
6767
_ => unsafe { return c_entrypoint(input) },
6868
}
6969
}
70+
71+
solana_program::custom_heap_default!();
72+
solana_program::custom_panic_default!();

0 commit comments

Comments
 (0)