pinakes/.cargo/config.toml
NotAShelf c18edc9146
chore: add cargo xtask alias
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iaf5e1365e825e88a6cde49a50624c7736a6a6964
2026-03-22 17:58:41 +03:00

39 lines
705 B
TOML

[alias]
xtask = "run --manifest-path xtask/Cargo.toml --"
[unstable]
build-std = ["std", "panic_abort", "core", "alloc"]
[build]
rustflags = [
"-Clto",
"-Zvirtual-function-elimination",
"-Zlocation-detail=none",
# Configuration for these lints should be placed in `.clippy.toml` at the crate root.
"-Dwarnings",
]
[target.wasm32-unknown-unknown]
rustflags = [
"-C",
"link-args=-z stack-size=268435456",
"-C",
"target-feature=+atomics,+bulk-memory,+mutable-globals",
]
[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