Skip to content

Commit

Permalink
Rollup merge of #127750 - ChrisDenton:safe-unsafe-unsafe, r=workingju…
Browse files Browse the repository at this point in the history
…bilee

Make os/windows and pal/windows default to `#![deny(unsafe_op_in_unsafe_fn)]`

This is to prevent regressions in modules that currently pass. I did also fix up a few trivial places where the module contained only one or two simple wrappers. In more complex cases we should try to ensure the `unsafe` blocks are appropriately scoped and have any appropriate safety comments.

This does not fix the windows bits of #127747 but it should help prevent regressions until that is done and also make it more obvious specifically which modules need attention.
  • Loading branch information
workingjubilee authored Jul 15, 2024
2 parents 681cf00 + 28adc79 commit 5202195
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 5202195

Please sign in to comment.