In
# Build and test for each crate, done with each toolchain.
build_and_test() {
for crate in "${CRATES[@]}"; do
local test_vars_script="$REPO_DIR/$crate/contrib/test_vars.sh"
# Building the fuzz crate is more-or-less just a sanity check.
if [ "$crate" = "fuzz" ]; then
pushd "$REPO_DIR/$crate" > /dev/null
cargo --locked build
popd > /dev/null
break
fi
The break should be a continue otherwise any directory after fuzz is ignored.