mirror of
https://github.com/LukeHagar/wasm-overhead-research.git
synced 2025-12-06 04:22:06 +00:00
26 lines
567 B
TOML
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
|