Files
dotfiles/.local/share/cargo/config.toml
T
2025-12-17 11:52:56 +02:00

32 lines
735 B
TOML

[alias]
cl = "clippy -- --no-deps -Wclippy::correctness -Wclippy::complexity -Wclippy::suspicious -Wclippy::style -Wclippy::perf -Wclippy::pedantic -Wclippy::nursery -Aclippy::cargo -Aclippy::restriction -Aclippy::must_use_candidate"
[build]
rustc-wrapper = "sccache"
rustflags = ["-Z", "threads=8"]
[profile.release]
lto = true
[profile.dev]
opt-level = 1
debug = "line-tables-only"
codegen-backend = "cranelift"
[unstable]
codegen-backend = true
[profile.dev.package."*"]
opt-level = 3
debug = false
[profile.debugging]
inherits = "dev"
debug = true
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=--ld-path=wild"]
# rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"] # "target-cpu=native"