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.
Starting with Rust 1.82
reference-types
is always present in thetarget_features
section. The problem is that JS bundlers like Webpack can't currently handle thereference-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