diff --git a/.cargo/config.toml b/.cargo/config.toml index 8c431e160..bcfce84cd 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,4 @@ [target.wasm32-unknown-unknown] - rustflags = [ # Enabled unstable APIs from web_sys "--cfg=web_sys_unstable_apis", diff --git a/Cargo.toml b/Cargo.toml index 2174b7fc9..d01f2c5e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,8 +18,9 @@ members = [ [profile.release] lto = true codegen-units = 1 -strip = true # Automatically strip symbols from the binary. +strip = "debuginfo" # Automatically strip symbols from the binary. Using here true makes "wasm-pack" fail opt-level = "z" # Optimize for size. +panic = "abort" [profile.bench] debug = true