Re:Rust gets working asmjs and wasm targets
by rubber_duck on Saturday October 01, 2016 @07:06PM
(#12620300)
Seeing that build randomly breaking on mingw reminds me of the 'fun' I've had dealing with cross platform/compiler development in C++, it will be a great day when I can just do something like 'cargo build' for asmjs/Android/iOS/Windows/OSX/Linux and this brings us one step closer :)
[ Parent
| on HN ]
Re:Rust gets working asmjs and wasm targets
by Manishearth on Sunday October 02, 2016 @12:45AM
(#12621073)
You already can, just `rustup add toolchain <triple>` and `cargo build --target <triple>`
Re:Rust gets working asmjs and wasm targets
by masklinn on Sunday October 02, 2016 @09:01AM
(#12622124)
On the current rustup (0.6.3) it seems to be `toolchain install`, not `add toolchain`. Is `add toolchain` a new change with a different syntax?
Re:Rust gets working asmjs and wasm targets
by Manishearth on Sunday October 02, 2016 @09:47AM
(#12622289)
No, my memory just sucks :)