rustwasm / wasm-bindgen

Facilitating high-level interactions between Wasm modules and JavaScript
https://rustwasm.github.io/docs/wasm-bindgen/
Apache License 2.0
7.83k stars 1.08k forks source link

Disable Automatic Activation of `externref` #4213

Closed CryZe closed 3 weeks ago

CryZe commented 1 month ago

Starting with Rust 1.82 reference-types is always present in the target_features section. The problem is that JS bundlers like Webpack can't currently handle the reference-types proposal. So for now there should not be any automatic detection of the feature and instead it should explicitly be enabled by the user.

Fixes #4211

CryZe commented 1 month ago

Due to multivalue also being broken, my PR is rebased ontop of #4210 for now.

daxpedda commented 3 weeks ago

Replaced by #4235.