Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong bash command in the blog #3

Open
tomasz-rozanski opened this issue Apr 17, 2020 · 0 comments
Open

Wrong bash command in the blog #3

tomasz-rozanski opened this issue Apr 17, 2020 · 0 comments

Comments

@tomasz-rozanski
Copy link

tomasz-rozanski commented Apr 17, 2020

In the blog post Making really tiny WebAssembly graphics demos, there's a section:

We can do better, though, by applying wasm-opt:

$ wasm-opt -o opt.wasm -Oz target/wasm32-unknown-unknown/release/bare_metal_wasm.wasm
$ ls -lh target/wasm32-unknown-unknown/release/bare_metal_wasm.wasm
-rw-r--r-- 1 cbiffle cbiffle 71 Jun  7 20:35 opt.wasm

Second command should read:

$ ls -lh opt.wasm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant