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

Always check #[crate_name] attribute #15616

Closed
wants to merge 1 commit into from

Conversation

sfackler
Copy link
Member

Otherwise we get an unused attribute warning when the crate name is set
via the command line.

Otherwise we get an unused attribute warning when the crate name is set
via the command line.
@alexcrichton
Copy link
Member

Can you add a test for this as well? I also added this in #15584, but we can race!

@sfackler
Copy link
Member Author

Beaten to the punch by #15584

@sfackler sfackler closed this Jul 11, 2014
@sfackler sfackler deleted the unused-attr-cargo branch November 26, 2016 05:53
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 13, 2023
Switch to in-tree rustc dependencies with a cfg flag

We can use this flag to detect and prevent breakages in rustc CI. (see rust-lang#14846 and rust-lang#15569)

~The `IN_RUSTC_REPOSITORY` is just a placeholder. Is there any existing cfg flag that rustc CI sets?~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants