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

Add a warning for invalid target cfgs #11291

Closed

Conversation

Rustin170506
Copy link
Member

What does this PR try to resolve?

part of #10893

See: #10893 (comment)

Just try to athe dd is_valid_key API for CfgExpr to add a warning for invalid target configs.

This is just an attempt. Do you guys think it works? We just ignore it now, maybe adding a warning would be an improvement. But I'm not sure if what I'm doing makes sense. Do you guys have a better suggestion?

How should we test and review this PR?

  • Unit test(TODO)

@rust-highfive
Copy link

r? @epage

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants