Skip to content

rustc_fluent_macro::fluent_messages uses CARGO_PKG_NAME instead of CARGO_CRATE_NAME #137815

Closed
@lolbinarycat

Description

@lolbinarycat

the crate name is an identifier used by rustc, and cannot contain hyphens.

the package name is only used by cargo, and can contain hyphens.

the issue is at compiler/rustc_fluent_macro/fluent.rs.html:81

Metadata

Metadata

Assignees

Labels

E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions