about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-09-08 11:55:08 +0530
committerGitHub <noreply@github.com>2022-09-08 11:55:08 +0530
commit1c3559676265f2c320f4e361fece080b0f464f97 (patch)
tree9f846ae38d36dc15cd9e08763045a3736b26ac72 /compiler/rustc_codegen_llvm/src
parent7064344ba4641ab463e51ba28a1d1bbf3ae8fc76 (diff)
parent850090d99c81dde7615e2a7e2111c09650868a48 (diff)
downloadrust-1c3559676265f2c320f4e361fece080b0f464f97.tar.gz
rust-1c3559676265f2c320f4e361fece080b0f464f97.zip
Rollup merge of #101455 - thomcc:why-is-this-here, r=jyn514
Avoid UB in the Windows filesystem code in... bootstrap?

This basically a subset of the changes from https://github.com/rust-lang/rust/pull/101171. I didn't think to look in src/bootstrap for more windows filesystem API usage, which was apparently a mistake on my part. It's kinda goofy that stuff like this is in here, but what are you gonna do, computers are awful.

I also added `winbase` to the `winapi` dep -- I tested this in a tmp crate but needed to add this to your Cargo.toml -- you `use winapi::stuff::winbase` in this function, but are relying on something else turning on that feature.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions