File tree Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ info: installing component 'rustc'
2121info: installing component 'rust-std'
2222info: installing component 'rust-docs'
2323info: installing component 'cargo'
24- info: checking for self-updates
25- info: downloading self-updates
24+ info: checking for self-update
25+ info: downloading self-update
2626
2727 stable updated: rustc 1.7.0 (a5d1e7a59 2016-02-29)
2828
@@ -49,8 +49,8 @@ This will not download new toolchains:
4949
5050``` console
5151$ rustup self update
52- info: checking for self-updates
53- info: downloading self-updates
52+ info: checking for self-update
53+ info: downloading self-update
5454```
5555
5656### Disabling self updates on a per-invocation basis
Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ will be updated in addition to stable:
7777$ rustup update
7878info: syncing channel updates for 'stable'
7979info: syncing channel updates for 'nightly'
80- info: checking for self-updates
81- info: downloading self-updates
80+ info: checking for self-update
81+ info: downloading self-update
8282
8383 stable unchanged: rustc 1.7.0 (a5d1e7a59 2016-02-29)
8484 nightly unchanged: rustc 1.9.0-nightly (02310fd31 2016-03-19)
Original file line number Diff line number Diff line change 1717 Deprecated. Use ` RUSTUP_DIST_SERVER ` instead.
1818
1919- ` RUSTUP_UPDATE_ROOT ` (default ` https://static.rust-lang.org/rustup ` ) Sets
20- the root URL for downloading self-updates .
20+ the root URL for downloading self-update .
2121
2222- ` RUSTUP_IO_THREADS ` * unstable* (defaults to reported cpu count). Sets the
2323 number of threads to perform close IO in. Set to ` 1 ` to force
Original file line number Diff line number Diff line change @@ -1132,7 +1132,7 @@ pub(crate) fn prepare_update() -> Result<Option<PathBuf>> {
11321132 let current_version = env ! ( "CARGO_PKG_VERSION" ) ;
11331133
11341134 // Get available version
1135- info ! ( "checking for self-updates " ) ;
1135+ info ! ( "checking for self-update " ) ;
11361136 let available_version = get_available_rustup_version ( ) ?;
11371137
11381138 // If up-to-date
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ info: installing component 'cargo'
114114info: installing component 'rust-docs'
115115info: installing component 'rust-std'
116116info: installing component 'rustc'
117- info: checking for self-updates
117+ info: checking for self-update
118118info: downloading self-update
119119"
120120 ) ,
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ fn uninstall_doesnt_leave_gc_file() {
299299#[ test]
300300fn update_exact ( ) {
301301 let version = env ! ( "CARGO_PKG_VERSION" ) ;
302- let expected_output = "info: checking for self-updates
302+ let expected_output = "info: checking for self-update
303303info: downloading self-update
304304"
305305 . to_string ( ) ;
@@ -439,7 +439,7 @@ fn update_no_change() {
439439" ,
440440 version
441441 ) ,
442- r"info: checking for self-updates
442+ r"info: checking for self-update
443443" ,
444444 ) ;
445445 } ) ;
@@ -512,7 +512,7 @@ fn rustup_self_update_exact() {
512512 ) ,
513513 for_host ! (
514514 r"info: syncing channel updates for 'stable-{0}'
515- info: checking for self-updates
515+ info: checking for self-update
516516info: downloading self-update
517517info: cleaning up downloads & tmp directories
518518"
Original file line number Diff line number Diff line change @@ -566,7 +566,7 @@ where
566566 A : AsRef < OsStr > ,
567567{
568568 // Only the rustup alias is currently ready for in-process testing:
569- // - -init performs self-updates which monkey with global external state.
569+ // - -init performs self-update which monkey with global external state.
570570 // - proxies themselves behave appropriately the proxied output needs to be
571571 // collected for assertions to be made on it as our tests traverse layers.
572572 // - self update executions cannot run in-process because on windows the
You can’t perform that action at this time.
0 commit comments