We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c69136 commit 48c1553Copy full SHA for 48c1553
std/src/sys/pal/windows/os.rs
@@ -202,8 +202,6 @@ fn home_dir_crt() -> Option<PathBuf> {
202
|buf, mut sz| {
203
// GetUserProfileDirectoryW does not quite use the usual protocol for
204
// negotiating the buffer size, so we have to translate.
205
- // FIXME(#141254): We rely on the *undocumented* property that this function will
206
- // always set the size, not just on failure.
207
match c::GetUserProfileDirectoryW(
208
ptr::without_provenance_mut(CURRENT_PROCESS_TOKEN),
209
buf,
0 commit comments