News for hackers. Stuff that matters.
Re:Get Started with Rust, WebAssembly, and Webpack by vvanders on Tuesday June 27, 2017 @12:13PM (#14646710)
Cool to see more people digging into Rust + Emscripten.

Not sure why the guide is using nightly Rust, stable has worked pretty well on Emscripten for a while. If you need to pass custom linker flags(which emscripten sometimes requires) you can do it via rustflag directive in .cargo/config.

We've been using Rust + Emscripten for some cross-platfrom targets(web, win32, osx, android and linux) and been pleasantly surprised with how straightforward+stable it's been.

Re:Get Started with Rust, WebAssembly, and Webpack by steveklabnik on Tuesday June 27, 2017 @12:18PM (#14646760)
It's in a bit of a transition; we're planning on using LLVM's backed for wasm, and I believe that's landed in nightly[1]. Stable has support but through emscripten's LLVM patches. So maybe they wanted to try out the new stuff, or maybe they didn't know that it was on stable already.

1: EDIT: looks like it https://github.com/rust-lang/rust/pull/42571

Re:Get Started with Rust, WebAssembly, and Webpack by ianjsikes on Tuesday June 27, 2017 @01:09PM (#14647185)
Hi, author here. Thanks for the tip, I wasn't aware compiling with Emscripten would work on stable. That should simplify the process. I'll do some more research and update the guide.
Re:Get Started with Rust, WebAssembly, and Webpack by vvanders on Tuesday June 27, 2017 @06:40PM (#14650200)
Yeah, was a great article, kudos for that. To be clear I didn't mean it as a criticism just wanted to throw it out there so other people knew that it works on stable.