Constantly rebuilding proc-macro dependencies dev
mode
A regression was introduced sometime around Rust 1.71.1 which changed how
debuginfo flags are passed to proc-macro crates when using a dev
profile.
If you are building with a dev
profile (i.e. not using release
builds),
you may want to set the following in .cargo/config.toml
:
[profile.dev.build-override]
debug = false