Skip to content

Commit c70cb13

Browse files
fix: install cross using --locked (#3286)
1 parent 31f80f6 commit c70cb13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-config/buildspec-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ phases:
2222
- . "$HOME/.cargo/env"
2323
- rustup toolchain install `cat rust-toolchain.toml | grep channel | cut -d '=' -f2 | tr -d ' "'`
2424
# Install cross only if the musl env var is set and not null
25-
- if [ ! -z "${AMAZON_Q_BUILD_MUSL:+x}" ]; then cargo install cross --git https://github.com/cross-rs/cross; fi
25+
- if [ ! -z "${AMAZON_Q_BUILD_MUSL:+x}" ]; then cargo install cross --git https://github.com/cross-rs/cross --locked; fi
2626
# Install python/node via mise (https://mise.jdx.dev/continuous-integration.html)
2727
- curl --retry 5 --proto '=https' --tlsv1.2 -sSf https://mise.run | sh
2828
- mise install

0 commit comments

Comments
 (0)