Unfortunately it looks like in wasm-bindgen 0.2.85 it no longer generates a function named init.
Both before and after, the init function is exported as the default export of the javascript module that wasm-bindgen generates, so web-bunder should use that instead.
web-bundler inlines the javascript generated by wasm-bindgen and calls its init function.
https://github.com/panoptix-za/web-bundler/blob/main/src/lib.rs#L278C19-L278C19
Unfortunately it looks like in wasm-bindgen 0.2.85 it no longer generates a function named
init
.Both before and after, the init function is exported as the default export of the javascript module that wasm-bindgen generates, so web-bunder should use that instead.