mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-29 10:42:21 +03:00
14 lines
456 B
Markdown
14 lines
456 B
Markdown
|
## 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](https://github.com/rust-lang/cargo/issues/12457).
|
||
|
|
||
|
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`:
|
||
|
|
||
|
```toml
|
||
|
[profile.dev.build-override]
|
||
|
debug = false
|
||
|
```
|