Skip to content

Commit

Permalink
Keep function names in profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Jun 7, 2021
1 parent b3b706e commit 011e785
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ members = ["benchmarks"]
[profile.release]
lto = true
codegen-units = 1
debug = true

[features]
external_doc = []
3 changes: 3 additions & 0 deletions benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ crate-type = ["cdylib", "rlib"]
[features]
default = ["serde-json", "serde-wasm-bindgen"]
serde-json = ["wasm-bindgen/serde-serialize"]

[package.metadata.wasm-pack.profile.profiling]
wasm-opt = ['-O', '-g']

0 comments on commit 011e785

Please sign in to comment.