Skip to content

Add no-default-features yml workflow#3053

Merged
kennykerr merged 5 commits intomasterfrom
no-default-features
May 23, 2024
Merged

Add no-default-features yml workflow#3053
kennykerr merged 5 commits intomasterfrom
no-default-features

Conversation

@kennykerr
Copy link
Copy Markdown
Collaborator

Following up on #3047 (comment) where @dpaoliello suggested we test crates with no default features.

@kennykerr
Copy link
Copy Markdown
Collaborator Author

@ChrisDenton here's some more fallout from the unexpected_cfgs thing.

https://github.com/microsoft/windows-rs/actions/runs/9207820449/job/25328694260?pr=3053

@kennykerr
Copy link
Copy Markdown
Collaborator Author

kennykerr commented May 23, 2024

Actually looking closer it might be an unrelated nightly change.

https://rust-lang.github.io/rust-clippy/master/index.html#/lint_groups_priority

@ChrisDenton
Copy link
Copy Markdown
Collaborator

Yeah, I think it's basically saying that unused_qualifications is redundant because it's already being set in rust_2018_idioms.

@ChrisDenton
Copy link
Copy Markdown
Collaborator

Aside: lint changes have been exhausting recently.

@kennykerr
Copy link
Copy Markdown
Collaborator Author

Yes, really losing the value for me.

@ChrisDenton
Copy link
Copy Markdown
Collaborator

Oh, looks like you were right the first time. It seems that any group has to be priority -1 even if it doesn't include the lint.

@kennykerr
Copy link
Copy Markdown
Collaborator Author

Yep, that's super confusing.

@kennykerr kennykerr merged commit d06694a into master May 23, 2024
@kennykerr kennykerr deleted the no-default-features branch May 23, 2024 16:16
mati865 pushed a commit to mati865/windows-rs that referenced this pull request Jun 15, 2024
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