about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-08-31 08:47:21 +0900
committerGitHub <noreply@github.com>2022-08-31 08:47:21 +0900
commitf19783dbb8b7ba6d7a76b199b4314c87ed1cb8c1 (patch)
treef3745251dc9167d3305b3c48b188c042226ee171 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent42a1901cf43e145b3a90bac086cb844b94ffc7a1 (diff)
parent1b8b2dc2ff9196ba4532c7d6f2775e2112bfc060 (diff)
downloadrust-f19783dbb8b7ba6d7a76b199b4314c87ed1cb8c1.tar.gz
rust-f19783dbb8b7ba6d7a76b199b4314c87ed1cb8c1.zip
Rollup merge of #101193 - thomcc:win-stdio-nozero, r=ChrisDenton
Avoid zeroing large stack buffers in stdio on Windows

Does what it says on the tin, using `[MaybeUninit<u16>; N]` instead of `[0u16; N]`. These buffers seem to be around 8kb, which is big enough that this is likely to be a very nice perf boost to stdio-heavy windows code.

r? ``@ChrisDenton``

*(Note: this PR also has a commit that adds windows to CI, but as it mentions I'll revert that after it comes out green -- I can only do a check build on the machine I'm typing this on)*
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions