We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1747d52 commit baa0600Copy full SHA for baa0600
src/allocator.rs
@@ -18,7 +18,7 @@ use std::mem::MaybeUninit;
18
all(target_arch = "wasm32", target_os = "unknown"),
19
export_name = "malloc"
20
)]
21
-#[cfg_attr(not(all(target_arch = "wasm32", target_os = "unknown")), no_mangle)]
+#[no_mangle]
22
pub extern "C" fn proxy_on_memory_allocate(size: usize) -> *mut u8 {
23
let mut vec: Vec<MaybeUninit<u8>> = Vec::with_capacity(size);
24
unsafe {
0 commit comments