Skip to content

Commit

Permalink
blog: rewords
Browse files Browse the repository at this point in the history
  • Loading branch information
ArhanChaudhary committed Aug 26, 2024
1 parent b93ad95 commit f52b59e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ wasm-opt = ['-O']

For most people, `-O4` is enough, case closed, but it is easy to overlook an important detail. wasm-opt isn't a tool from Rust, but rather a Rust-facing wrapper around [binaryen](https://github.com/WebAssembly/binaryen)'s wasm-opt, the C++ toolchain infrastructure that actually does the meat of the work. You never could have known this if you were new to rustwasm, as it's omitted from the documentation.

You have to dig through source to find the full list of binaryen's wasm-opt optimization flags. Bizarrely, the only mention of the list is within this test file.
You have to dig through source to find the full list of binaryen's wasm-opt optimization flags. Bizarrely, the only mention of the list in fine print is within this test file.

[`test/lit/help/wasm-opt.test`](https://github.com/WebAssembly/binaryen/blob/version_117/test/lit/help/wasm-opt.test)

Expand Down

0 comments on commit f52b59e

Please sign in to comment.