Files
wasm-overhead-research/implementations/quickjs/Cargo.toml
2025-08-18 16:27:18 +01:00

26 lines
567 B
TOML

[package]
name = "quickjs-transform"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
name = "quickjs_transform"
[dependencies]
rquickjs = { version = "0.6", default-features = false, features = ["bindgen"] }
[profile.release]
# Tell `rustc` to optimize for smallest code size.
opt-level = "z"
# Enable thin link time optimization for better size
lto = "thin"
# Strip debug symbols
strip = true
# Panic strategy for smaller binary size
panic = "abort"
# Additional size optimizations
codegen-units = 1
# Reduce binary bloat
overflow-checks = false