rust-nex/check-edition.sh

18 lines
483 B
Shell
Raw Normal View History

#!/usr/bin/env bash
2026-04-26 14:39:05 +02:00
2026-04-26 14:57:02 +02:00
set -euo pipefail
2026-04-26 14:39:05 +02:00
if [ -z ${EDITION+x} ]; then
2026-04-26 14:57:02 +02:00
export EDITION=$1
fi
# comma seperated list of features for the specified version
source ./buildscripts/common.sh
echo CHECKING $EDITION
echo FEATURES:
echo $EDITION_FEATURES
2026-07-14 17:27:30 +02:00
# RUSTFLAGS="--deny warnings" cargo clippy --workspace --features "$EDITION_FEATURES"
# RUSTFLAGS="--deny warnings" cargo check --workspace --features "$EDITION_FEATURES"
2026-07-12 18:21:18 +02:00
echo "edition checks are disabled right now due to being in"