New version of chrono breaks wasm32-unknown-unknown #2475
Closed
Description
Describe the bug
chrono = "0.4.23"
introduces dependencies on wasm-bindgen (one of its default features is wasmbind
) when compiling for the wasm32-unknown-unknown environment. Because these wasm-bindgen imports are not available in that environment by default, our code cannot be deployed to our environment.
This is related to the work done here: #1670
To Reproduce
Compile a simple Boa app to wasm32-unknown-unknown and attempt to run it in an environment (for example wasmtime) which has no wasm-bindgen support.
Expected behavior
Deploying a Boa application compiled with the wasm32-unknown-unknown target should work fine in an environment that doesn't have wasm-bindgen support.
Build environment (please complete the following information):
- OS: Ubuntu
- Version: 20.04
- Target triple: wasm32-unknown-unknown
- Rustc version: rustc 1.65.0 (897e37553 2022-11-02)