Skip to content

Disable Automatic Activation of externref#4213

Closed
CryZe wants to merge 4 commits intowasm-bindgen:mainfrom
CryZe:webpack-rust-1-82-mess
Closed

Disable Automatic Activation of externref#4213
CryZe wants to merge 4 commits intowasm-bindgen:mainfrom
CryZe:webpack-rust-1-82-mess

Conversation

@CryZe
Copy link
Copy Markdown
Contributor

@CryZe CryZe commented Oct 19, 2024

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 CryZe force-pushed the webpack-rust-1-82-mess branch 2 times, most recently from 77ee2fd to a2c62f0 Compare October 19, 2024 20:13
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.
@CryZe CryZe force-pushed the webpack-rust-1-82-mess branch from a2c62f0 to 37502b9 Compare October 19, 2024 20:16
@CryZe
Copy link
Copy Markdown
Contributor Author

CryZe commented Oct 19, 2024

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

@daxpedda
Copy link
Copy Markdown
Member

Replaced by #4235.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rust v1.82 enables reference type transformations by default

3 participants