customize Cargo a bit, for now
This commit is contained in:
parent
373e300b59
commit
e016c37634
2 changed files with 26 additions and 0 deletions
10
.cargo/config.toml
Normal file
10
.cargo/config.toml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# SPDX-FileCopyrightText: 2026 Qyriad <qyriad@qyriad.me>
|
||||
#
|
||||
# SPDX-License-Identifier: EUPL-1.1
|
||||
# vim: tabstop=2 shiftwidth=0 noexpandtab
|
||||
|
||||
[build]
|
||||
rustflags = [
|
||||
"-C", "force-frame-pointers=yes",
|
||||
"-C", "force-unwind-tables=yes",
|
||||
]
|
||||
16
Cargo.toml
16
Cargo.toml
|
|
@ -47,3 +47,19 @@ tap = "1.0.1"
|
|||
tracing = { version = "0.1.44", features = ["attributes"] }
|
||||
tracing-human-layer = "0.2.1"
|
||||
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["std", "env-filter", "fmt", "ansi", "registry", "parking_lot"] }
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
lto = "thin"
|
||||
|
||||
[profile.release]
|
||||
debug = true
|
||||
debug-assertions = true
|
||||
lto = true
|
||||
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 1
|
||||
|
||||
[profile.release.package."*"]
|
||||
debug = true
|
||||
debug-assertions = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue