Skip to content

Commit

Permalink
Set useful debuginfo flag
Browse files Browse the repository at this point in the history
  • Loading branch information
aelred committed Sep 29, 2024
1 parent 8bb390e commit 0a7abb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ console_log = { version = "1.0.0", optional = true }
hexdump = "0.1.2"
image = "0.25.2"
yare = "3.0.0"

[package.metadata.wasm-pack.profile.release]
# default is ['-O4'], `--debuginfo` adds useful profiling information
wasm-opt = ['-O4', '--debuginfo']

0 comments on commit 0a7abb4

Please sign in to comment.