diff options
author | Dan Gohman <sunfish@mozilla.com> | 2018-01-15 13:35:42 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2018-01-15 13:35:42 -0800 |
commit | 3d8358f8e10a01869ef59189539ab1d17d52cb10 (patch) | |
tree | 60f32a061204f12d6c5dad79edeafbe754e7e5e4 | |
parent | d4de67daab18a320ee78a05d27c6d5612d1c73fd (diff) | |
download | binaryen-3d8358f8e10a01869ef59189539ab1d17d52cb10.tar.gz binaryen-3d8358f8e10a01869ef59189539ab1d17d52cb10.tar.bz2 binaryen-3d8358f8e10a01869ef59189539ab1d17d52cb10.zip |
Make the triple explicit in the llc command-line in the README. (#1361)
s2wasm currently depends on the wasm32-unknown-unknown-elf triple.
Depend on it explicitly, rather than relying on it being the default.
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -184,7 +184,7 @@ When using `emcc` with the `BINARYEN` option, it will use Binaryen to build to W Binaryen's `s2wasm` tool can translate the `.s` output from the LLVM WebAssembly backend into WebAssembly. You can receive `.s` output from `llc`, and then run `s2wasm` on that: ``` -llc code.ll -march=wasm32 -filetype=asm -o code.s +llc code.ll -mtriple=wasm32-unknown-unknown-elf -filetype=asm -o code.s s2wasm code.s > code.wast ``` |