mirror of
https://github.com/gyscos/zstd-rs
synced 2024-10-18 05:42:38 +00:00
Fix wasm32-unknown-unknown support (#274)
`XXH_STATIC_ASSERT` appears to already have a reasonable definition, and defining it to `0` breaks uses of it.
This commit is contained in:
parent
e470f0021d
commit
a2125e3ebc
4
.github/workflows/wasm.yml
vendored
4
.github/workflows/wasm.yml
vendored
|
@ -22,6 +22,6 @@ jobs:
|
|||
submodules: recursive
|
||||
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
run: cargo build --verbose --target wasm32-unknown-unknown
|
||||
- name: Build with feature thin
|
||||
run: cargo build --verbose --features thin
|
||||
run: cargo build --verbose --features thin --target wasm32-unknown-unknown
|
||||
|
|
|
@ -143,7 +143,6 @@ fn compile_zstd() {
|
|||
cargo_print(&"rerun-if-changed=wasm-shim/string.h");
|
||||
|
||||
config.include("wasm-shim/");
|
||||
config.define("XXH_STATIC_ASSERT", Some("0"));
|
||||
}
|
||||
|
||||
// Some extra parameters
|
||||
|
|
Loading…
Reference in a new issue