Open Suyashtnt opened 1 year ago
@Suyashtnt thanks! I also experienced linking errors when updating dependencies in my demo (https://github.com/psarna/country-counter/), and traced it to https://github.com/rustwasm/wasm-bindgen/issues/3276, which I worked around with freezing the dependency to =0.2.83
: https://github.com/psarna/country-counter/blob/8817345361c40de26346bf6046c8c526be439108/Cargo.toml#L16C49-L16C101 . The wasm-pack issue is reportedly fixed though, so maybe bumping the dependencies already gets rid of the error
This dependency upgrade is mainly required for cloudflare workers, where if you are using a version newer than
0.0.12
, there is a linker error. This has been majorly untested though so I need to test it before marking it ready