mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Fix typo.
This commit is contained in:
parent
d5e20a9b7f
commit
6d190fec37
@ -476,7 +476,7 @@ dependencies based on optional crate features.
|
||||
Use [the `[features]` section](manifest.md#the-features-section)
|
||||
instead.
|
||||
|
||||
The same applies to `cfg(debug_assertions)`, `cfg(test)` and `cfg(prog_macro)`.
|
||||
The same applies to `cfg(debug_assertions)`, `cfg(test)` and `cfg(proc_macro)`.
|
||||
These values will not work as expected and will always have the default value
|
||||
returned by `rustc --print=cfg`.
|
||||
There is currently no way to add dependencies based on these configuration values.
|
||||
|
Loading…
x
Reference in New Issue
Block a user