Increasing rust wasm32 stack size

Quoting Make stack size configurable · Issue #479 · rustwasm/wasm-pack · GitHub

[target.wasm32-unknown-unknown]
rustflags = [
  "-C", "link-args=-z stack-size=1500000",
]

Is that all that is required to increase the wasm32 stack size, or is something else required ?