about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-24 05:05:34 +0200
committerGitHub <noreply@github.com>2024-07-24 05:05:34 +0200
commitee77dda77855890f41f7457ba03bf307ee1f0feb (patch)
tree0adf60f75d571f94f08b91bd4bbf92a85d88fda1 /compiler/rustc_codegen_llvm/src
parente56e8867968f8565e3cf6242610f1344ce16be23 (diff)
parent8c3ce60e309d9592a50729a0dbc4a77f2b3c73c6 (diff)
downloadrust-ee77dda77855890f41f7457ba03bf307ee1f0feb.tar.gz
rust-ee77dda77855890f41f7457ba03bf307ee1f0feb.zip
Rollup merge of #128092 - ChrisDenton:wrappers, r=workingjubilee
Remove wrapper functions from c.rs

I'd like for the windows `c.rs` just to contain the basic platform definitions and not anything higher level unless absolutely necessary. So this removes some wrapper functions that weren't really necessary in any case. The functions are only used in a few places which themselves are relatively thin wrappers. The "interesting" bit is that we had an `AlertableIoFn` that abstracted over `ReadFileEx` and `WriteFileEx`. I've replaced this with a closure.

Also I removed an `#[allow(unsafe_op_in_unsafe_fn)]` while I was moving things around.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions