about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-04-24 14:00:57 +0200
committerGitHub <noreply@github.com>2024-04-24 14:00:57 +0200
commit388dc0d0b7e0d7aeacccbe18d2120053dee5ee7a (patch)
tree69a81b5b97b2c1b59bbcffdb2d861e8052a2ae31 /compiler/rustc_codegen_llvm/src
parent4eda87603d56d3a5059d364198d11f95697ece65 (diff)
parenta21c2d870470b07d559faeaf88e7d16c765fc6ef (diff)
downloadrust-388dc0d0b7e0d7aeacccbe18d2120053dee5ee7a.tar.gz
rust-388dc0d0b7e0d7aeacccbe18d2120053dee5ee7a.zip
Rollup merge of #124282 - RalfJung:fill_utf16_buf, r=ChrisDenton
windows fill_utf16_buf: explain the expected return value

The comment just says "return what the syscall returns", but that doesn't work for all syscalls as the Windows API is not consistent in how buffer size is negotiated. For instance, GetUserProfileDirectoryW works a bit differently, and so home_dir_crt has to translate this to the usual protocol itself. So it's worth describing that protocol.

r? ``@ChrisDenton``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions