rustup icon indicating copy to clipboard operation
rustup copied to clipboard

Log the `registry` used when run `rustup udpate/install` (and other commands use registry).

Open Shylock-Hg opened this issue 1 year ago • 3 comments

Problem you are trying to solve

I want to know the registry current used.

Solution you'd like

Log to screen directly.

Notes

No response

Shylock-Hg avatar Feb 22 '24 07:02 Shylock-Hg

@Shylock-Hg Thanks for filing this issue! May I ask what registry you are referring to?

rami3l avatar Feb 22 '24 12:02 rami3l

@Shylock-Hg Thanks for filing this issue! May I ask what registry you are referring to?

I'm not sure what rustup called it. But rustup support to set it by environment variable RUSTUP_UPDATE_ROOT and RUSTUP_DIST_SERVER, or just means mirror site?

Shylock-Hg avatar Feb 22 '24 13:02 Shylock-Hg

@Shylock-Hg Sounds like a reasonable request! I'll put it onto our roadmap.

This should also help the users to see if they are switched to the dev environment or not, so useful for beta-testing as well.

rami3l avatar Feb 23 '24 10:02 rami3l

=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Moon6688 avatar Oct 08 '24 23:10 Moon6688