diff options
| author | Eugene Talagrand <git@talagrand.org> | 2021-10-16 18:23:42 -1000 |
|---|---|---|
| committer | Eugene Talagrand <git@talagrand.org> | 2021-10-18 23:33:07 -0700 |
| commit | 413ca98d9110404d745471e54af10fc950292417 (patch) | |
| tree | 56dd34f759ba06a0c1bb8eede72d639d6110af2c /compiler/rustc_query_impl/src | |
| parent | 4e89811b46323f432544f9c4006e40d5e5d7663f (diff) | |
| download | rust-413ca98d9110404d745471e54af10fc950292417.tar.gz rust-413ca98d9110404d745471e54af10fc950292417.zip | |
Update std::env::temp_dir to use GetTempPath2 on Windows when available.
As a security measure, Windows 11 introduces a new temporary directory API, GetTempPath2. When the calling process is running as SYSTEM, a separate temporary directory will be returned inaccessible to non-SYSTEM processes. For non-SYSTEM processes the behavior will be the same as before.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
