Skip to content

Commit

Permalink
build: always try to install cargo-zigbuild to enforce version check
Browse files Browse the repository at this point in the history
Signed-off-by: Reuben Miller <[email protected]>
  • Loading branch information
reubenmiller committed Aug 17, 2023
1 parent 7b3d40d commit cd6eaef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ci/build_scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,7 @@ if [ "$SHOW_VERSION" == "1" ]; then
fi

# Use zig to build as it is provides better cross compiling support
if ! cargo zigbuild --help &>/dev/null; then
cargo install cargo-zigbuild --version ">=0.17.1"
fi
cargo install cargo-zigbuild --version ">=0.17.1"

# Allow users to install zig by other package managers
if ! zig --help &>/dev/null; then
Expand Down

0 comments on commit cd6eaef

Please sign in to comment.