Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd `no-self-update` feature #597
Comments
brson
added
the
help wanted
label
Jul 19, 2016
This comment has been minimized.
This comment has been minimized.
|
Historically, with Debian,
|
This comment has been minimized.
This comment has been minimized.
|
@steveklabnik That's a good point. It's conceivable that rustup could detect when it has a system installation and do its own self-update in a way that shadows it. I basically think that people should not be using package managers to install rustup (the upstream installation is supposed to be dead-simple), but packagers gonna package. Anyway, if it causes problems we'll deal with them. This is fixed. |
brson commentedJul 19, 2016
For distro packaging rustup self updates make no sense. And currently cause mysterious errors. Add a cargo feature,
no-self-updatethat makesrustup updatenot do a self update andrustup self updateprint "error: self-updates are disabled for this build of rustup. If you installed rustup from a package manager, then use it to update rustup."