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 5
5
setup_script :
6
6
- pkg install -y curl
7
7
- curl https://sh.rustup.rs -sSf --output rustup.sh
8
- - sh rustup.sh --default-toolchain nightly -y
8
+ - sh rustup.sh --default-toolchain nightly -y --profile=minimal
9
9
- . $HOME/.cargo/env
10
10
- rustup default nightly
11
11
test_script :
19
19
setup_script :
20
20
- pkg install -y curl
21
21
- curl https://sh.rustup.rs -sSf --output rustup.sh
22
- - sh rustup.sh -y
22
+ - sh rustup.sh -y --profile=minimal
23
23
- . $HOME/.cargo/env
24
24
- rustup default stable
25
25
test_script :
34
34
setup_script :
35
35
- pkg install -y curl
36
36
- curl https://sh.rustup.rs -sSf --output rustup.sh
37
- - sh rustup.sh --default-toolchain nightly -y
37
+ - sh rustup.sh --default-toolchain nightly -y --profile=minimal
38
38
- . $HOME/.cargo/env
39
39
- rustup default nightly
40
40
test_script :
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