Skip to content

Allow rustup and rust-init to install package from local file? #885

@canfoderiskii

Description

@canfoderiskii

I've been faced with some network problem and the direct download speed is very slow and a time-out error can be easily seen.
But I can use other downloading tools like "Internet Download Manager" to successfully fetch file from the link like this "https://static.rust-lang.org/dist/2016-12-21/rustc-1.14.0-x86_64-pc-windows-gnu.tar.gz".

I can see that when rustup or rust-init start downloading, it always creates a temp file in $HOME/.rustup/tmp.

Is there any way to tell the rustup or rust-init not to create a new tmp file but use the .tar.gz file I just downloaded via other method?
Is there any command line parameters for this feature? or is it possible to be added?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions