Use system tmp folder
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 22h 40m
- Merged PRs (30d)
- 46
Description
$HOME is meant for user files. I wish rustup used /tmp instead of $HOME/.rustup/tmp.
Example use case: my home folder at school has a very constrained amount of space (about 3GB), which means that installing, say, rust-src might fail if I run out of space. This is regardless of whether or not I have sufficient space to accommodate the fully installed rust-src component.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing rustup's temporary download handling and how it currently uses $HOME/.rustup/tmp. Determine how a system temporary directory such as /tmp should be selected for component installation, then verify that installing components still succeeds when the home directory has very limited space.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100