rust_sdl2_opengl_emscripten icon indicating copy to clipboard operation
rust_sdl2_opengl_emscripten copied to clipboard

Building with cargo web does not work on Linux

Open therocode opened this issue 4 years ago • 2 comments

I think this is because Cargo Web uses an old version of Emscripten, see: https://github.com/koute/cargo-web/issues/235

I am not sure why it isn't broken on Windows as well

therocode avatar Oct 08 '20 08:10 therocode

I spent all day trying to get this work (also using your project in order to get it to work). I tried almost everything. I tried to downgrade and upgrading my emscripten. I tried to manually compile using rustc into index.html output. I'm getting tired of this so I might just remove cargo web and end my misery.

dave0null avatar Oct 15 '20 19:10 dave0null

Did you only have errors with cargo web? I was able to get it to work with just cargo, on Linux

therocode avatar Oct 15 '20 23:10 therocode