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

Allow boolean literals in check-cfg #138767

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

clubby789
Copy link
Contributor

#138632 (comment)
This makes it consistent with --cfg

We could alternatively add a forward-compatible lint against --cfg true/false
r? @Urgau

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 21, 2025
@rust-log-analyzer

This comment has been minimized.

@Urgau
Copy link
Member

Urgau commented Mar 22, 2025

Procedurally, this change impacts a stable option, the change is quite limited (and could even be considered a consistency bug-fix with --cfg), so @davidtwco and I think that an MCP (without FCP) would be enough to insta-stabilize this change.

@clubby789 could you open a MCP (Major Change Proposal) against the rust-lang/compiler-team repo explaining the change and its motivation so this PR can move forward.

@rustbot label +S-waiting-on-MCP -S-waiting-on-review

@rustbot rustbot added S-waiting-on-MCP Status: PR has a compiler MCP and is waiting for the compiler MCP to complete. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 22, 2025
@clubby789
Copy link
Contributor Author

Opened an MCP: rust-lang/compiler-team#854

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-MCP Status: PR has a compiler MCP and is waiting for the compiler MCP to complete. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants