rust-lang / rust-lang/rustup

rustup is still slow under WSL

Open
#1,866 15 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug O-linux O-windows
Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
22h 40m
Merged PRs (30d)
46

Description

Problem
We forgot about WSL when making the threading code OS specific.

Steps

  1. Run rustup in WSL on Windows 10 (a WSL backed to an NTFS volume)

Possible Solution(s)
Perhaps thread always? Or perhaps try to detect WSL?

Notes

Output of rustup --version:
Output of rustup show:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the rustup slowdown in WSL on Windows 10 with the filesystem backed by NTFS, then trace the OS-specific threading behavior described in the issue. Use the available rustup --version and rustup show outputs while investigating. Done means rustup no longer exhibits the reported slowness under WSL.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.