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]
|
||||
rustflags = ["-Cforce-frame-pointers=yes"]
|
||||
rustflags = ["-Cforce-frame-pointers=yes", "-Ccodegen-units=6", "--cfg", "tokio_unstable"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue