Daniel Silverstone
13979c9685
rustup-init.sh: Update for 1.20.2
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-10-16 10:53:33 +01:00
Daniel Silverstone
4eadfff3d5
rustup-init.sh: Update for 1.20.1
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-10-15 22:37:12 +01:00
Daniel Silverstone
a7f2579413
rustup-init.sh: Update for 1.20.0 release
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-10-14 11:42:10 +01:00
Daniel Silverstone
bdcf194702
Support installation with additional components and targets
...
Add support for "-c" and "-t" to `rustup toolchain install`
and to `rustup-init` itself.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-09-27 23:13:29 +02:00
PicoJr
280679c925
feat: --quiet option
...
--quiet disables progress output
tests: see `tests/cli-rustup.rs`
2019-09-25 20:36:08 +02:00
Nick Cameron
ec6d1afcbe
Installation profiles ( #1673 )
...
* Add profile argument to rustup install
* Address some warnings
Signed-off-by: Nick Cameron <nrc@ncameron.org >
* Review changes
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2019-09-12 09:10:04 +12:00
Daniel Silverstone
00ac7442f9
Update rustup-init.sh for release
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-09-07 11:22:40 +01:00
Martell Malone
bc20830eff
Add x86_64-unknown-linux-musl build support
2019-05-29 21:24:24 +07:00
Daniel Silverstone
435397f480
rustup-init.sh: Update for 1.18.3
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-05-22 14:52:07 +01:00
Daniel Silverstone
5d039ad04a
rustup-init.sh: Update hash for 1.18.2 release
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-05-02 08:11:50 +01:00
Daniel Silverstone
48f6c78821
rustup-init.sh: Update for 1.18.1
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-04-25 09:37:15 +01:00
Daniel Silverstone
615ed4e265
rustup-init.sh: Fall back to less secure download
...
If we're using OS X less than 10.13 or any platform where
curl or wget fail to advertise the required command line arguments
then fall back to not passing the flags to force TLSv1.2
This should fix #1794
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-04-24 19:08:22 +01:00
Josh Stone
0aa12e79ad
Detect s390x in rustup-init.sh
2019-04-23 11:33:40 -07:00
Daniel Silverstone
8603e2c565
Final tweaks for release
...
1.18.0 will be released on April 23rd, but it was built on April 22nd.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-04-22 22:41:57 +01:00
Daniel Silverstone
8589389679
rustup-init.sh: Update to match SHA for 1.18.0 Cargo.toml
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-04-22 13:19:48 +01:00
Srinivas Reddy Thatiparthy
ffc23e2321
Remove header license info
2019-03-30 16:52:40 +05:30
Lzu Tao
0ab96488b2
Fix fallout when zsh options noequals is unset (default)
2019-03-27 21:19:28 +07:00
Sander Maijers
292754eb8a
Force highest TLS version supported
...
The integrity and confidentiality of the installer script hinges currently on TLS. It is important to enforce the highest version of TLS in the instructions. Also, enforce the `https` scheme. Should redirects occur in the future, then each URL redirected to must be accessed using TLS 1.2 with HTTP, rather than allowing a plain HTTP link in the chain.
2019-03-20 12:30:26 +01:00
Lzu Tao
ca17dbcff6
Clearer detecting 64-bit Linux with 32-bit userland on mips64el
...
Inline (and remove) `need_ok` cause it makes ShellCheck annoying
2019-03-15 09:25:17 +07:00
Dale Wijnand
416d7150fc
rustup-init.sh: Inline need_ok
...
For reasons detailed in
https://github.com/koalaman/shellcheck/wiki/SC2181
Particularly the one about an echo between a command and the test in
need_ok would break need_ok, seeing as need_ok exits it seems like a
likely foot gun to stick an echo and break behaviour.
2019-03-13 09:02:28 +00:00
Daniel Silverstone
f08dec8b1e
rustup-init.sh: Fix unset variable usage
...
With `set -u` our check for `RUSTUP_UPDATE_ROOT` being empty
needed an additional tweak for it being unset.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-03-06 15:09:36 +00:00
Daniel Silverstone
069c88ed62
rustup-init.sh: Update hash again for Cargo.lock change
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-03-05 23:50:40 +00:00
Daniel Silverstone
757932a919
rustup-init.sh: Update version to match SHA of Cargo.lock
...
In order to keep things neat, rustup-init.sh contains the commit
ID of the Cargo.lock update for 1.17.0
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org >
2019-03-05 21:42:42 +00:00
Dale Wijnand
b6451260c4
Merge pull request #1604 from lzutao/fix-local
...
Fix non-local variables in rustup-init
2019-03-02 10:43:41 +00:00
Lzu Tao
4be2d2f563
Fix non-local variables in rustup-init
2019-03-01 10:49:56 +07:00
Vladislav Rassokhin
97c88f0cd9
Minor in rustup-init.sh
2019-02-26 16:15:11 +03:00
Lzu Tao
c6dd8c9ef9
Prefer [ p ] && [ q ] as [ p -a q ] is not well defined
2019-01-07 11:18:18 +07:00
lzutao
ed77c9cb27
Remove double quote if rhs is number
2019-01-07 11:08:10 +07:00
lzutao
0225c276de
Fix various ShellCheck warnings
2019-01-07 11:08:10 +07:00
Nick Cameron
de12a265c8
Merge pull request #1495 from crlf0710/master
...
Allow using inherited RUSTUP_UPDATE_ROOT variable in rustup-init.sh.
2019-01-07 13:21:03 +13:00
Tony Asleson
e9516b41cc
Update rustup-init.sh for 32bit powerpc userland
2018-12-20 09:35:51 -06:00
Nick Cameron
243e3d5889
Bump version to 1.15.0
...
And fix nursery links
2018-11-27 14:43:31 +13:00
crlf0710
71fb2dfec6
Allow using inherited RUSTUP_UPDATE_ROOT variable in rustup-init.sh.
...
Also makes the usage of the variable consistent with rust version by moving the "/dist" part to usage site.
2018-09-01 22:26:57 +08:00
Diggory Blake
09fb0f5686
Merge pull request #1269 from mcandre/patch-1
...
update shebang to reflect bashisms
2018-05-27 13:48:00 +01:00
Tibo
faa08bd786
Avoid duplication of command -v
2018-03-08 17:48:54 +11:00
TitanSnow
299427ade5
fallbacks to wget if curl not installed
...
modify 'rustup-init.sh' to support wget
if curl not installed. This situation
often happens on some linux distribution.
2018-03-08 16:32:46 +11:00
Andrew Pennebaker
6b4283fd83
update shebang to reflect bashisms
...
Update shebang, given that `local` is not a POSIX semantic.
2017-10-21 20:00:58 -05:00
Vadim Petrochenkov
d93c1c8399
Support rustup-init --default-toolchain none
2017-09-23 02:21:24 +03:00
Chen Rotem Levy
fc2e35013c
remove say_err()
...
As it isn't used anywhere...
2017-07-02 10:18:48 +03:00
bors
7b3e8fb02f
Auto merge of #1056 - malbarbo:armv8l, r=Diggsey
...
Add armv8l support
Fixes https://github.com/rust-lang-nursery/rustup.rs/issues/1055
2017-04-19 20:32:54 +00:00
Marco A L Barbosa
bc824d90cf
Add armv8l support
2017-04-19 15:11:18 -03:00
Greg Alexander
fb8b82fcd7
fix inadvertent dependency on bash through use of == string comparison
2017-04-09 17:45:56 -04:00
bitrauser
176d874192
Remove run(), replace by ignore() as pass-through
...
ignore() is meant to indicate that a result is intentionally ignored.
So it makes sense to replace run(), and turn ignore() into a pure
pass-through in order to remove error reporting from rustup-init.sh
2017-04-04 15:37:18 +02:00
bitrauser
64c310ba91
Merge remote-tracking branch 'upstream/master'
2017-04-04 15:13:50 +02:00
James Elford
b77c0474a2
Better error message when not running in a tty
...
-t returns true if the provided file descriptor is open and refers
to a terminal.
2017-04-01 19:20:09 +01:00
bitrauser
b223bb7f66
Remove conditional block from run()
...
In order to remove error reporting from run() without influencing the
behaviour of ignore().
2017-04-01 19:13:41 +02:00
bitrauser
b1a869ee76
Remove error reporting from rustup-init.sh
...
To prevent rustup-init.sh from printing a redundant message in response
to an error running rustup-init.exe.
Instead it now just terminates unsuccessfully.
2017-04-01 18:02:09 +02:00
Aarthi Janakiraman
b1a1ff50fb
added argument-documentation to rustup-init.sh
2017-02-25 16:04:18 -05:00
Marco A L Barbosa
d77b6f50f6
Add android support to rustup-init.sh
2017-02-10 19:52:31 -02:00
Brian Anderson
1bedbb1b81
Merge pull request #824 from tbu-/pr_netbsd
...
Automatically detect NetBSD during standard install
2016-11-21 15:26:37 -08:00