Replacment of -
vs _
in package names inconsistent
#13541
Labels
A-cargo-targets
Area: selection and definition of targets (lib, bins, examples, tests, benches)
A-documenting-cargo-itself
Area: Cargo's documentation
S-needs-mentor
Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
In the docs the behavior of replacement of dashes (-) vs underscore (_) is not as described. See bytecodealliance/cargo-component#250 (comment) for details.
Seems related to:
Overall I've always found the
lib.name
key to be super confusing because it adds to the dashes-vs-underscore ambiguity, which sometimes crops up with crates which use dashes inpackage.name
and underscores inlib.name
and while that kind of works it doesn't always work because now you need to uselib.name
for specifying patches.Originally posted by in #6827 (comment)
The text was updated successfully, but these errors were encountered: