Skip to content

Commit

Permalink
Keep the std-import feature needed by wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
gyscos committed Oct 9, 2023
1 parent d84bac5 commit 1232b0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zstd-safe/zstd-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
//!
//! [zstd]: https://facebook.github.io/zstd/

#[cfg(feature = "std")]
extern crate std;

#[cfg(target_arch = "wasm32")]
mod wasm_shim;

Expand Down

0 comments on commit 1232b0f

Please sign in to comment.