rust-lang / rust-lang/rustup

Rustup installed from offline installer doesn't assign toolchain

Open
#1,545 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi all,

Looks like if you install a toolchain from an offline installer (from other install methods), you have to point to that install on the PATH. So if you have multiplexing and wanted to set a toolchain through the .cargo/bin folder, it doesn't list any installed toolchains.

The solution seems to be using a "symlinked local toolchain build", so I will give that a shot. But, I think if the toolchain from offline installers installs rustup, and then rustup doesn't know about the toolchain, that installation is not complete.

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 an offline-installer setup with rustup and a toolchain installed through another method, checking whether rustup lists it when the .cargo/bin directory is on PATH. The issue is resolved when the installed toolchain is recognized and can be selected through rustup without requiring a symlinked local toolchain build.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.