build: add tokio_unstable and codegen-units to cargo config
console-subscriber (used by jobkit's console feature) requires tokio to be built with --cfg tokio_unstable. Move this and codegen-units=6 from RUSTFLAGS env var to .cargo/config.toml so per-project cargo config actually works (env var RUSTFLAGS overrides config.toml). Also remove invalid frame-pointer keys from Cargo.toml profile sections — frame pointers are already handled via -Cforce-frame-pointers in the config.toml rustflags. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f1bee024e8
commit
a321f87db6
2 changed files with 1 additions and 3 deletions
|
|
@ -1,2 +1,2 @@
|
||||||
[build]
|
[build]
|
||||||
rustflags = ["-Cforce-frame-pointers=yes"]
|
rustflags = ["-Cforce-frame-pointers=yes", "-Ccodegen-units=6", "--cfg", "tokio_unstable"]
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ edition = "2024"
|
||||||
[profile.release]
|
[profile.release]
|
||||||
opt-level = 2
|
opt-level = 2
|
||||||
debug = 1
|
debug = 1
|
||||||
frame-pointer = "always"
|
|
||||||
|
|
||||||
[profile.release.package."*"]
|
[profile.release.package."*"]
|
||||||
debug = false
|
debug = false
|
||||||
frame-pointer = "always"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue