diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2024-07-17 04:05:59 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-17 04:05:59 -0500 |
| commit | 56f95559dafe39c7903d52bae9c52acf37878476 (patch) | |
| tree | 608f5d05589949a88ecb4c60f2a08dac564dbb4a /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | cb12b52f160c633551bd6e5be8d4c6e2e8660950 (diff) | |
| parent | 2043de12a364a8f6196bb58726af71b93abee888 (diff) | |
| download | rust-56f95559dafe39c7903d52bae9c52acf37878476.tar.gz rust-56f95559dafe39c7903d52bae9c52acf37878476.zip | |
Rollup merge of #127763 - ChrisDenton:safe-unsafe-unsafe, r=tgross35
Make more Windows functions `#![deny(unsafe_op_in_unsafe_fn)]`
As part of #127747, I've evaluated some more Windows functions and added `unsafe` blocks where necessary. Some are just trivial wrappers that "inherit" the full unsafety of their function, but for others I've added some safety comments. A few functions weren't actually unsafe at all. I think they were just using `unsafe fn` to avoid an `unsafe {}` block.
I'm not touching `c.rs` yet because that is partially being addressed by another PR and also I have plans to further reduce the number of wrapper functions we have in there.
r? libs
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
