Re:Rust gets working asmjs and wasm targets
by icefox on Saturday October 01, 2016 @07:36PM
(#12620390)
The commit mentions that hello.rs work, anyone happen to notice if a copy of the resulting hello.wasm is posted anywhere? Or the steps to build hello.rs to hello.wasm?
[ Parent
| on HN ]
Re:Rust gets working asmjs and wasm targets
by steveklabnik on Saturday October 01, 2016 @08:10PM
(#12620467)
> Or the steps to build hello.rs to hello.wasm?
This will get easier next week, when we get the build bots to produce the right things.With a little work, it should be something like
$ rustup add toolchain some-wasm-triple
$ cargo build --target some-wasm-triple
in my understanding.