Skip to content

Commit

Permalink
build: add Wasm debug info (#281)
Browse files Browse the repository at this point in the history
* build: update cargo lock

* build: add debug info
  • Loading branch information
Myriad-Dreamin authored Aug 7, 2023
1 parent 4e3f4d7 commit 1d32f95
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 19 deletions.
38 changes: 19 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions packages/renderer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ edition.workspace = true
homepage.workspace = true
repository.workspace = true

[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[package.metadata.wasm-pack.profile.release.wasm-bindgen]
debug-js-glue = true
demangle-name-section = true

[lib]
crate-type = ["cdylib"]

Expand Down

0 comments on commit 1d32f95

Please sign in to comment.