Check for wasm32-wasip1
precompiled bindings in rquickjs
and remove bindgen
feature if supported
#2403
Milestone
wasm32-wasip1
precompiled bindings in rquickjs
and remove bindgen
feature if supported
#2403
Description
We are currently using the
bindgen
feature of therquickjs
crate to support thewasm32-wasip1
target. This was necessary because[email protected]
does not provide precompiled bindings for thewasm32-wasip1
target.The
wasm32-wasip1
target replaces thewasm32-wasi
target, which will be deprecated in Rust's nightly builds in October 2024 and removed from stable Rust in January 2025. Untilrquickjs
includes precompiled bindings forwasm32-wasip1
, thebindgen
feature allows us to dynamically generate the necessary bindings.Action Items
rquickjs
for updates to the precompiled bindings.wasm32-wasip1
target is now supported out of the box.rquickjs
adds precompiled bindings forwasm32-wasip1
:bindgen
feature from ourCargo.toml
:Context
This issue serves as a reminder to revisit this decision and to adopt precompiled bindings when they are available, as they are generally more efficient than using
bindgen
.The text was updated successfully, but these errors were encountered: