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

Remove redundant warning suppression #1709

Merged
merged 5 commits into from
Apr 21, 2022
Merged

Remove redundant warning suppression #1709

merged 5 commits into from
Apr 21, 2022

Conversation

kennykerr
Copy link
Collaborator

@kennykerr kennykerr commented Apr 21, 2022

This will need some more work for WinRT components, but I think this is generally an improvement over blindly suppressing warnings all over the place. I'm just shooting for clean builds with warnings allowed centrally, but this opens the door for code gen improvements as it's much easier to selectively disallow warnings and improve code gen as needed.

Fixes #1707

@@ -70,7 +70,7 @@ jobs:
- name: Update toolchain
run: rustup update --no-self-update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
- name: Run cargo check
run: cargo check -p windows
run: cargo check -p windows --features Foundation,Win32_Foundation,Win32_Graphics_Direct2D
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, we can't test --all-features as we do for windows-sys due to build server limitations (and a very greedy compiler) but at least this adds a bit more smoke testing for some common type system patterns that we can validate on the MSRV.

@kennykerr kennykerr merged commit 5ea7a54 into master Apr 21, 2022
@kennykerr kennykerr deleted the explicit branch April 21, 2022 17:56
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.

Remove redundant warning suppression
1 participant