File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ phases:
2020 # Install cargo
2121 - curl --retry 5 --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
2222 - . "$HOME/.cargo/env"
23+ - rustup toolchain install `cat rust-toolchain.toml | grep channel | cut -d '=' -f2 | tr -d ' "'`
2324 # Install cross only if the musl env var is set and not null
2425 - if [ ! -z "${AMAZON_Q_BUILD_MUSL:+x}" ]; then cargo install cross --git https://github.com/cross-rs/cross; fi
2526 # Install python/node via mise (https://mise.jdx.dev/continuous-integration.html)
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ phases:
1919 # Install cargo
2020 - curl --retry 5 --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
2121 - . "$HOME/.cargo/env"
22+ - rustup toolchain install `cat rust-toolchain.toml | grep channel | cut -d '=' -f2 | tr -d ' "'`
2223 # Install tauri-cli, required for building and bundling the desktop app
2324 - cargo install --version 1.6.2 tauri-cli
2425 # Install cross only if the musl env var is set and not null
You can’t perform that action at this time.
0 commit comments