add temp logs

This commit is contained in:
vms 2021-04-25 01:05:48 +03:00
parent 3482fb7682
commit 85a93763c1

View File

@ -24,6 +24,11 @@ pub unsafe fn allocate(elem_count: usize, elem_ty: usize) -> usize {
}
let allocated_mem = allocate_impl(elem_count, elem_ty);
println!(
"sdk.allocate: {} {} -> {}\n",
elem_count, elem_ty, allocated_mem
);
crate::debug_log!(format!(
"sdk.allocate: {} {} -> {}\n",
elem_count, elem_ty, allocated_mem