Skip to content

Conversation

nicholasbishop
Copy link
Member

Set RUSTFLAGS="-D warnings" for all jobs so that errors are treated as warnings for build/test.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

If neither the logger nor global_allocator features is enabled, the unsafe block
here would generated a warning because there was no code in it. Split into two
blocks and gate the blocks behind cfgs to solve this.
@phip1611 phip1611 added this pull request to the merge queue Apr 15, 2024
Merged via the queue into rust-osdev:main with commit d2776c6 Apr 15, 2024
@nicholasbishop nicholasbishop deleted the bishop-warnings-fixins-2 branch April 15, 2024 14:55
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