See the output wasm of a function

I have a large Rust projects that build under cargo build --target=wasm32-unknown-unknown. Is there a way t see the output wasm32 of one particular function ?

Context: some gfx routine where I need to process 100k - 1M values in < 16ms. Want to see the actual wasm32 generated.

cargo-show-asm works on wasm as well as other targets. Install it and run

cargo asm --target wasm32-unknown-unknown --rust your_function_name

(The --rust option adds lines with the original Rust source code, which is often helpful for context.)