pinakes/.cargo/config.toml
NotAShelf 764aafa88d
meta: optimize builds with experimental compiler flags
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iec66d57dbad508080af9b00011d4b4276a6a6964
2026-03-06 18:29:31 +03:00

27 lines
386 B
TOML

[unstable]
build-std = ["std", "panic_abort", "core", "alloc"]
[build]
rustflags = [
"-Clto",
"-Zvirtual-function-elimination",
"-Zlocation-detail=none",
]
[profile.dev]
opt-level = 0
debug = 1
split-debuginfo = "unpacked"
incremental = true
[profile.release]
opt-level = "z"
debug = false
lto = true
codegen-units = 1
panic = "abort"
strip = true
incremental = false