Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support non-optimized builds on pure wasm backend #1
I believe at least one piece in solving this will be #3. If you leave LLVM assertions turned on then at lower optimization levels it often hits an LLVM assertion. There may also be bugs in binaryen's s2wasm right now, but I don't think we've ever gotten far enough to test that.
We shouldn't close this out automatically with #3 though because it's likely we'll need to do more than just upgrade llvm.
Initial testing shows that https://github.com/rust-lang-nursery/rust-wasm/issues/2 plus https://github.com/rust-lang-nursery/rust-wasm/issues/3 will solve this issue. Once those are in-tree though we should go through all the linked test cases on rust-lang/rust#46367 and make sure they work.