Koute
Koute
Hmmm... that might be an issue with Rust not rebuilding the project when Emscripten flags change. Anyhow, can you just delete the `target` directory and rebuild?
I wanted to see whenever `prepend-js` was the culprit or not (since the path to the specified `.js` file is passed to Emscripten through an environment variable.) But I guess...
Start removing things as long as it still exhibits the problem. For example, delete the example code and leave an empty crate, remove `yew` dependency and leave only `stdweb`, etc....
Rust is. But there must be some reason why it fails.
`cargo-web` doesn't set that. Either `rustc` or `cargo` does.
Yes. That's why I suggested to try to cut down that example crate from `yew` so that we can maybe find out what triggers it and figure out *why* it...
I *think* this is an inherent Rust limitation, but I'm not 100% sure; would probably be worth investigating.
This was something I did plan to add, but not WASM-specific - you'd set the path in your `Web.toml` to where your `.js` file would be generated (e.g. with `cargo...
@TheMegaTB Thanks for the well written issue! This is definitely something that I want to support and is on my radar.
Thanks for investigating this further! > On that note, I'd like some more discussion on whether or not one should include the .rs files or the whole Rust crate. Hmm......