Skip to content

Commit

Permalink
Fix further wasm build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DouglasDwyer committed Sep 23, 2023
1 parent 22b86d7 commit 4a5e9a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions zstd-safe/zstd-sys/src/wasm_shim.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use core::alloc::{alloc, dealloc, Layout};
use core::os::raw::{c_int, c_void};
extern crate alloc;

use alloc::alloc::{alloc, dealloc, Layout};
use core::ffi::{c_int, c_void};

#[no_mangle]
pub extern "C" fn rust_zstd_wasm_shim_malloc(size: usize) -> *mut c_void {
Expand Down

0 comments on commit 4a5e9a1

Please sign in to comment.