pink-extension 0.5.2-dev.0

Phala's ink! for writing phat contracts
Documentation
1
2
3
4
5
6
7
#[global_allocator]
static ALLOCATOR: dlmalloc::GlobalDlmalloc = dlmalloc::GlobalDlmalloc;

#[alloc_error_handler]
fn alloc_error_handler(layout: alloc::alloc::Layout) -> ! {
    panic!("alloc error: {:?}", layout)
}