Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: Explorer 'Quick Access' polluted with deleted folders inside .rustup #3816

Open
2 tasks done
oberrich opened this issue May 9, 2024 · 0 comments
Open
2 tasks done
Labels
bug O-windows Windows related

Comments

@oberrich
Copy link

oberrich commented May 9, 2024

Verification

Problem

I don't know what exactly caused this but a few weeks back my explorer's 'Quick Access' got polluted with these temp dirs inside the .rustup folder.

image

All of these directories cannot be removed through Windows Explorer directly, simply because they don't exist anymore.

Before this happend, I've extracted ~300K archives using the zip crate earlier that day and called fs::remove_file(path).unwrap() on files inside the newly created directory.

Steps

Unclear

Possible Solution(s)

No response

Notes

The code involved was straight forward and only involved calling standard APIs or zip/image crate functions.
I'm not sure what exactly caused this issue, may or may not be related to rustup.

Rustup version

rustup 1.27.0 (bbb9276d2 2024-03-08)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.79.0-nightly (3a36386dc 2024-04-25)`

Installed toolchains

Default host: x86_64-pc-windows-msvc
rustup home:  C:\Users\root\.rustup

installed toolchains
--------------------

stable-x86_64-pc-windows-msvc
nightly-x86_64-pc-windows-msvc (default)

active toolchain
----------------

nightly-x86_64-pc-windows-msvc (default)
rustc 1.79.0-nightly (3a36386dc 2024-04-25)

OS version

Windows 11, Version 23H2 (OS Build 22631.3527)
@oberrich oberrich added the bug label May 9, 2024
@rami3l rami3l added the O-windows Windows related label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug O-windows Windows related
Projects
None yet
Development

No branches or pull requests

2 participants