Skip to content

Commit

Permalink
Auto merge of #24511 - servo:minimal, r=<try>
Browse files Browse the repository at this point in the history
Don’t install rust-docs, rust-src, or clippy on CI

See https://blog.rust-lang.org/2019/10/15/Rustup-1.20.0.html#profiles
  • Loading branch information
bors-servo committed Oct 20, 2019
2 parents 882dcc8 + 76f8f75 commit 7c7c16b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions etc/taskcluster/decisionlib.py
Expand Up @@ -503,7 +503,7 @@ def with_rustup(self):
return self \
.with_path_from_homedir(".cargo\\bin") \
.with_early_script(
"%HOMEDRIVE%%HOMEPATH%\\rustup-init.exe --default-toolchain none -y"
"%HOMEDRIVE%%HOMEPATH%\\rustup-init.exe --default-toolchain none --profile=minimal -y"
) \
.with_file_mount("https://win.rustup.rs/x86_64", path="rustup-init.exe")

Expand Down Expand Up @@ -656,7 +656,8 @@ def with_python2(self):
def with_rustup(self):
return self.with_early_script("""
export PATH="$HOME/.cargo/bin:$PATH"
which rustup || curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
which rustup || curl https://sh.rustup.rs -sSf | \
sh -s -- --default-toolchain none --profile=minimal -y
""")


Expand Down
2 changes: 1 addition & 1 deletion etc/taskcluster/docker/build.dockerfile
Expand Up @@ -42,7 +42,7 @@ RUN \
&& \
#
#
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y && \
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none --profile=minimal -y && \
#
#
curl -sSfL \
Expand Down

0 comments on commit 7c7c16b

Please sign in to comment.