File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,21 @@ cache:
17
17
- ' %USERPROFILE%\.rustup'
18
18
19
19
install :
20
+ # Compute the rust version we use
21
+ - set /p RUSTC_HASH=<rust-version
20
22
# Install Rust
21
23
- curl -sSf --retry 3 -o rustup-init.exe https://win.rustup.rs/
22
24
- rustup-init.exe -y --default-host %TARGET% --default-toolchain stable
23
25
- set PATH=%USERPROFILE%\.cargo\bin;%PATH%
26
+ - rustup default stable
27
+ - rustup uninstall beta
28
+ - rustup update
24
29
# Install "master" toolchain
25
30
- cargo install rustup-toolchain-install-master & exit 0
26
- - set /p RUSTC_HASH=<rust-version
27
31
- rustup-toolchain-install-master -f -n master %RUSTC_HASH% -c cargo -c rust-src
28
32
- rustup default master
29
33
- rustc --version
34
+ - cargo --version
30
35
31
36
build_script :
32
37
- set RUSTFLAGS=-C debug-assertions
You can’t perform that action at this time.
0 commit comments