Build Rust with Emscripten support
curl -O https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gztar -xzf emsdk-portable.tar.gzsource emsdk_portable/emsdk_env.shemsdk updateemsdk install sdk-incoming-64bitemsdk activate sdk-incoming-64bitcd ~/srcgit clone https://github.com/brson/rust --branch emscripten-new && cd rustcd src/llvm && git remote add brson https://github.com/brson/llvm && git fetch brson && cd ../.../configure --enable-rustbuild --target=asmjs-unknown-emscriptenpython2 src/bootstrap/bootstrap.py -v --step libtest --stage 2 --target asmjs-unknown-emscriptenpython2 src/bootstrap/bootstrap.py --step check-rpass --target=asmjs-unknown-emscripten
This comment has been minimized.
eminence commentedSep 1, 2016
If anyone sees the following error during step (3):
This means you need to be using python2, not python3