Skip to content

Commit a4aeec4

Browse files
committed
Switch from a -Z option to a cargo-features feature
This change affects Cargo.toml syntax, so use cargo-features to enable it.
1 parent 4b86f3e commit a4aeec4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

text/3176-cargo-multi-dep-artifacts.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ are specified in terms of the original crate name, not the dependency name;
123123
thus, Cargo does not currently support overriding profile settings differently
124124
for different artifact dependencies.
125125

126-
Until this feature is stabilized, it will require specifying the nightly-only
127-
option `-Z multidep` to `cargo`. If `cargo` encounters multiple dependencies on
128-
the same crate and does not have this option specified, it will continue to
129-
emit an error.
126+
Until this feature is stabilized, it will require specifying the "multidep"
127+
feature in the nightly-only `cargo-features` key in `Cargo.toml`. If Cargo
128+
encounters multiple dependencies on the same crate and does not have this
129+
option specified, it will continue to emit an error.
130130

131131
# Drawbacks
132132
[drawbacks]: #drawbacks

0 commit comments

Comments
 (0)