Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
rust-lang
/
rustup
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
1.1k
Star
7k
Code
Issues
425
Pull requests
26
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
fix: stop deleting $CARGO_HOME during uninstall
- #4861
#4861
Merged
rami3l
merged 10 commits into
rust-lang:main
rust-lang/rustup:main
from
Cloud0310:main
Cloud0310/rustup:main
Copy head branch name to clipboard
Jun 20, 2026
Conversation
Commits
10
(10)
Checks
Files changed
Merged
fix: stop deleting $CARGO_HOME during uninstall
#4861
rami3l
merged 10 commits into
rust-lang:main
rust-lang/rustup:main
from
Cloud0310:main
Cloud0310/rustup:main
Copy head branch name to clipboard
Commits
Commits on Jun 18, 2026
refactor: rename Windows uninstall gc helper
Cloud0310
committed
0be2d62
View commit details
Copy full SHA for 0be2d62
Browse repository at this point
refactor(cli/self-update): move `unix::delete_rustup_and_cargo_home()` to parent module
Cloud0310
committed
9541ea0
View commit details
Copy full SHA for 9541ea0
Browse repository at this point
refactor: route Windows cargo home cleanup through parent helper
Cloud0310
committed
9bb0ca1
View commit details
Copy full SHA for 9bb0ca1
Browse repository at this point
refactor(self-update): postpone PATH cleanup
Cloud0310
committed
5fdde7c
View commit details
Copy full SHA for 5fdde7c
Browse repository at this point
Commits on Jun 19, 2026
doc: add uninstall process overall docstring
Cloud0310
committed
0689477
View commit details
Copy full SHA for 0689477
Browse repository at this point
refactor(self-update): move shared cargo-home cleanup into delete_rustup_and_cargo_home
Cloud0310
committed
02368f5
View commit details
Copy full SHA for 02368f5
Browse repository at this point
feat(self-update)!: preserve non-empty `$CARGO_HOME/bin` during uninstall
Cloud0310
committed
4abc3bc
View commit details
Copy full SHA for 4abc3bc
Browse repository at this point
Commits on Jun 20, 2026
test: cover cargo bin removal during uninstall
Cloud0310
committed
28183a8
View commit details
Copy full SHA for 28183a8
Browse repository at this point
test: cover PATH removal during rustup uninstall
Cloud0310
committed
129a109
View commit details
Copy full SHA for 129a109
Browse repository at this point
test(windows-uninstall): make `uninstall_doesnt_leave_gc_file` as Windows only
Cloud0310
committed
561b6df
View commit details
Copy full SHA for 561b6df
Browse repository at this point
You can’t perform that action at this time.