Boscop
Boscop
1. It works when I also run `emsdk activate latest`, but shouldn't running `emsdk_env.bat` in a shell be enough? 2. Any idea why this fails? https://github.com/DenisKolodin/yew/issues/124
1. It adds some emscripten paths to PATH but `activate` sets more.. 2. Yes, same error. Is it because the arg is passed without quotation marks? > ERROR:root:a problem occurred...
That one works! So why doesn't it work with the yew examples?
I added the Web.toml file next to my Cargo.toml file: ```toml prepend-js = "prepend.js" ``` and the js file: ```js console.log("prepend"); ``` when I build it, it returns immediately (as...
Ah yes, now it works! ``` prepend Hello, world! ``` Now how does it bring us closer to a solution to the issue above?
Strip it down in what way? Where does the error even originate? Which part is passing those flags?
But who is the one calling emcc with `"-s" "EXPORTED_FUNCTIONS=[\"_main\",\"_rust_eh_personality\"]"`?
I remember I had a similar problem before where something (cargo or something else) wasn't putting quotation marks around the value of args.. Maybe it should be `"-s" "EXPORTED_FUNCTIONS=\"['_main','_rust_eh_personality']\""`?
Is this related? https://github.com/kripken/emscripten/issues/4342
Which line of code in cargo web calls emcc with `"-s" "EXPORTED_FUNCTIONS=[\"_main\",\"_rust_eh_personality\"]"`?