Skip to content

when install rust with latest rust-init, it link all .cargo/bin files to rustup, including cargo #4608

@oyealex

Description

@oyealex

Verification

Problem

when install rust with latest rust-init, it link all .cargo/bin files to rustup, including cargo

Image

Steps

  1. download latest rust-init file from rust website.
  2. config CARGO_HOMT and RUSTUP_HOME env to other dir.
  3. execute rust-init and complete the installration.

Possible Solution(s)

manually change the link target to the actived toolchain/bin/*.exe

Notes

No response

Rustup version

rustup 1.28.2 (e4f3ad6f8 2025-04-28)

Installed toolchains

stable-x86_64-pc-windows-msvc

OS version

windows 10 22H2

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