We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5e20a9 commit 6d190feCopy full SHA for 6d190fe
src/doc/src/reference/specifying-dependencies.md
@@ -476,7 +476,7 @@ dependencies based on optional crate features.
476
Use [the `[features]` section](manifest.md#the-features-section)
477
instead.
478
479
-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)`.
480
These values will not work as expected and will always have the default value
481
returned by `rustc --print=cfg`.
482
There is currently no way to add dependencies based on these configuration values.
0 commit comments