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:
Kent Overstreet 2026-03-21 15:04:38 -04:00
parent f1bee024e8
commit a321f87db6
2 changed files with 1 additions and 3 deletions

View file

@ -9,8 +9,6 @@ edition = "2024"
[profile.release]
opt-level = 2
debug = 1
frame-pointer = "always"
[profile.release.package."*"]
debug = false
frame-pointer = "always"