Skip to content

Wrong bash command in the blog #3

@tomasz-rozanski

Description

@tomasz-rozanski

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions