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 77898eb commit 3473cd2Copy full SHA for 3473cd2
library/std/src/sys/windows/os.rs
@@ -320,6 +320,7 @@ pub fn temp_dir() -> PathBuf {
320
321
#[cfg(not(target_vendor = "uwp"))]
322
fn home_dir_crt() -> Option<PathBuf> {
323
+ unsafe {
324
// Defined in processthreadsapi.h.
325
const CURRENT_PROCESS_TOKEN: usize = -4isize as usize;
326
0 commit comments