build: reduce wasm size (#977)

This commit is contained in:
Hendrik Eeckhaut
2025-09-01 11:28:12 +02:00
committed by GitHub
parent 783355772a
commit 3b76877920
3 changed files with 2 additions and 6 deletions

View File

@@ -39,6 +39,8 @@ opt-level = 1
[profile.wasm]
inherits = "release"
lto = true
panic = "abort"
codegen-units = 1
[workspace.dependencies]
tls-server-fixture = { path = "crates/tls/server-fixture" }

View File

@@ -8,9 +8,6 @@ publish = false
name = "harness_executor"
crate-type = ["cdylib", "rlib"]
[package.metadata.wasm-pack.profile.custom]
wasm-opt = ["-O3"]
[dependencies]
tlsn-harness-core = { workspace = true }
tlsn = { workspace = true }

View File

@@ -14,9 +14,6 @@ workspace = true
[lib]
crate-type = ["cdylib", "rlib"]
[package.metadata.wasm-pack.profile.custom]
wasm-opt = ["-O3"]
[features]
default = []
test = []