Skip to content

Commit b20ea83

Browse files
committed
Auto merge of #1000 - RalfJung:profile, r=RalfJung
install minimal profile by default Avoid downloading some stuff we really don't care about.
2 parents 358cfd2 + cb91369 commit b20ea83

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ install:
2121
- set /p RUSTC_HASH=<rust-version
2222
# Install Rust
2323
- curl -sSf --retry 3 -o rustup-init.exe https://win.rustup.rs/
24-
- rustup-init.exe -y --default-host %TARGET% --default-toolchain stable
24+
- rustup-init.exe -y --default-host %TARGET% --default-toolchain stable --profile minimal
2525
- set PATH=%USERPROFILE%\.cargo\bin;%PATH%
2626
- rustup default stable
2727
- rustup uninstall beta
28+
- rustup component remove rust-docs & exit 0
2829
- rustup update
2930
# Install "master" toolchain
3031
- cargo install rustup-toolchain-install-master & exit 0

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ before_script:
3131
RUSTC_HASH=$(cat rust-version)
3232
fi
3333
# Install Rust ("stable" toolchain for better caching, it is just used to build rustup-toolchain-install-master)
34-
- curl https://build.travis-ci.org/files/rustup-init.sh -sSf | sh -s -- -y --default-toolchain stable
34+
- curl https://build.travis-ci.org/files/rustup-init.sh -sSf | sh -s -- -y --default-toolchain stable --profile minimal
3535
- export PATH=$HOME/.cargo/bin:$PATH
3636
- rustup default stable
3737
- rustup uninstall beta
38+
- rustup component remove rust-docs || echo "rust-docs already gone"
3839
- rustup update
3940
# Install "master" toolchain
4041
- cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ nightly that *does* come with Miri:
105105
```sh
106106
MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri)
107107
echo "Installing latest nightly with Miri: $MIRI_NIGHTLY"
108+
rustup set profile minimal
108109
rustup default "$MIRI_NIGHTLY"
109110

110111
rustup component add miri

0 commit comments

Comments
 (0)