Skip to content

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

Open
@rich-ayr

Description

@rich-ayr

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.

One way to get rid of them is by running del /f /s /q /a "%AppData%\Microsoft\Windows\Recent\AutomaticDestinations\f01b4d95cf55d32a.automaticDestinations-ms" to reset Quick Access.

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions