File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 7
7
- curl https://sh.rustup.rs -sSf --output rustup.sh
8
8
- sh rustup.sh --default-toolchain nightly -y
9
9
- . $HOME/.cargo/env
10
- - rustup default nightly
10
+ - rustup default nightly --profile=minimal
11
11
test_script :
12
12
- . $HOME/.cargo/env
13
13
- LIBC_CI=1 sh ci/run.sh x86_64-unknown-freebsd
21
21
- curl https://sh.rustup.rs -sSf --output rustup.sh
22
22
- sh rustup.sh -y
23
23
- . $HOME/.cargo/env
24
- - rustup default stable
24
+ - rustup default stable --profile=minimal
25
25
test_script :
26
26
- . $HOME/.cargo/env
27
27
- LIBC_CI=1 sh ci/run.sh x86_64-unknown-freebsd
36
36
- curl https://sh.rustup.rs -sSf --output rustup.sh
37
37
- sh rustup.sh --default-toolchain nightly -y
38
38
- . $HOME/.cargo/env
39
- - rustup default nightly
39
+ - rustup default nightly --profile=minimal
40
40
test_script :
41
41
- . $HOME/.cargo/env
42
42
- LIBC_CI=1 sh ci/run.sh x86_64-unknown-freebsd
Original file line number Diff line number Diff line change 6
6
toolchain=nightly
7
7
fi
8
8
if command -v rustup; then
9
+ rustup set profile minimal
9
10
rustup update $toolchain
10
11
rustup default $toolchain
11
12
else
12
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $toolchain
13
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $toolchain --profile=minimal
13
14
echo "##vso[task.prependpath]$HOME/.cargo/bin"
14
15
fi
15
16
displayName: Install rust (unix)
16
17
condition: ne( variables['Agent.OS'], 'Windows_NT' )
17
18
- script : |
18
19
@echo on
19
20
if not defined TOOLCHAIN set TOOLCHAIN=nightly
21
+ rustup set profile minimal
20
22
rustup update --no-self-update %TOOLCHAIN%-%TARGET%
21
23
rustup default %TOOLCHAIN%-%TARGET%
22
24
displayName: Install rust (windows)
You can’t perform that action at this time.
0 commit comments