Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacment of - vs _ in package names inconsistent #13541

Open
nuke-web3 opened this issue Mar 5, 2024 · 0 comments
Open

Replacment of - vs _ in package names inconsistent #13541

nuke-web3 opened this issue Mar 5, 2024 · 0 comments
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.

Comments

@nuke-web3
Copy link

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 in package.name and underscores in lib.name and while that kind of works it doesn't always work because now you need to use lib.name for specifying patches.

Originally posted by in #6827 (comment)

@weihanglo weihanglo added 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. A-cargo-targets Area: selection and definition of targets (lib, bins, examples, tests, benches) labels Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants