Closed ahaoboy closed 7 months ago
Issues regarding bindgen
would be better opened in the bindgen repository.
Anyway, the easiest way is to run bindgen in your build.rs file and then just compile your project with cargo-zigbuild (cargo-zigbuild --target=wasm32-unknown-unknown
or cargo-zigbuild --target=wasm32-wasi
).
the easiest way is to run bindgen in your build.rs file and then just compile your project with cargo-zigbuild (
cargo-zigbuild --target=wasm32-unknown-unknown
orcargo-zigbuild --target=wasm32-wasi
).
Thx
When setting target to wasm32-unknown-unknown,
stdio.h
is not found.stdlib.h also has the same problem