File tree 7 files changed +13
-13
lines changed
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'
21
21
info: installing component 'rust-std'
22
22
info: installing component 'rust-docs'
23
23
info: 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
26
26
27
27
stable updated: rustc 1.7.0 (a5d1e7a59 2016-02-29)
28
28
@@ -49,8 +49,8 @@ This will not download new toolchains:
49
49
50
50
``` console
51
51
$ 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
54
54
```
55
55
56
56
### 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:
77
77
$ rustup update
78
78
info: syncing channel updates for 'stable'
79
79
info: 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
82
82
83
83
stable unchanged: rustc 1.7.0 (a5d1e7a59 2016-02-29)
84
84
nightly unchanged: rustc 1.9.0-nightly (02310fd31 2016-03-19)
Original file line number Diff line number Diff line change 17
17
Deprecated. Use ` RUSTUP_DIST_SERVER ` instead.
18
18
19
19
- ` 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 .
21
21
22
22
- ` RUSTUP_IO_THREADS ` * unstable* (defaults to reported cpu count). Sets the
23
23
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>> {
1132
1132
let current_version = env ! ( "CARGO_PKG_VERSION" ) ;
1133
1133
1134
1134
// Get available version
1135
- info ! ( "checking for self-updates " ) ;
1135
+ info ! ( "checking for self-update " ) ;
1136
1136
let available_version = get_available_rustup_version ( ) ?;
1137
1137
1138
1138
// If up-to-date
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ info: installing component 'cargo'
114
114
info: installing component 'rust-docs'
115
115
info: installing component 'rust-std'
116
116
info: installing component 'rustc'
117
- info: checking for self-updates
117
+ info: checking for self-update
118
118
info: downloading self-update
119
119
"
120
120
) ,
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ fn uninstall_doesnt_leave_gc_file() {
299
299
#[ test]
300
300
fn update_exact ( ) {
301
301
let version = env ! ( "CARGO_PKG_VERSION" ) ;
302
- let expected_output = "info: checking for self-updates
302
+ let expected_output = "info: checking for self-update
303
303
info: downloading self-update
304
304
"
305
305
. to_string ( ) ;
@@ -439,7 +439,7 @@ fn update_no_change() {
439
439
" ,
440
440
version
441
441
) ,
442
- r"info: checking for self-updates
442
+ r"info: checking for self-update
443
443
" ,
444
444
) ;
445
445
} ) ;
@@ -512,7 +512,7 @@ fn rustup_self_update_exact() {
512
512
) ,
513
513
for_host ! (
514
514
r"info: syncing channel updates for 'stable-{0}'
515
- info: checking for self-updates
515
+ info: checking for self-update
516
516
info: downloading self-update
517
517
info: cleaning up downloads & tmp directories
518
518
"
Original file line number Diff line number Diff line change @@ -566,7 +566,7 @@ where
566
566
A : AsRef < OsStr > ,
567
567
{
568
568
// 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.
570
570
// - proxies themselves behave appropriately the proxied output needs to be
571
571
// collected for assertions to be made on it as our tests traverse layers.
572
572
// - self update executions cannot run in-process because on windows the
You can’t perform that action at this time.
0 commit comments