Skip to content

Commit f2663ba

Browse files
authored
Update specifying-dependencies.md
1 parent 03294f8 commit f2663ba

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/doc/src/reference/specifying-dependencies.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,8 @@ If you want to know which cfg targets are available on your platform, run
465465
`rustc --print=cfg` from the command line. If you want to know which `cfg`
466466
targets are available for another platform, such as 64-bit Windows,
467467
run `rustc --print=cfg --target=x86_64-pc-windows-msvc`.
468-
If you want to know which cfg targets are used by the release profile,
469-
add the `-O` parameter.
470468

471-
This same set of values is used throughout the build for all crates in your project,
472-
so, unlike in your Rust source code,
469+
Unlike in your Rust source code,
473470
you cannot use `[target.'cfg(feature = "my_crate")'.dependencies]` to add
474471
dependencies based on optional crate features.
475472
Use [the `[features]` section](manifest.md#the-features-section) instead.

0 commit comments

Comments
 (0)