1#!/usr/bin/env sh 2 3set -ex 4TARGET=$1 5 6CMD="cargo test --all --target $TARGET" 7 8# stable by default 9$CMD 10$CMD --release 11 12# unstable with a feature 13$CMD --features 'unstable' 14$CMD --release --features 'unstable' 15 16# also run the reference tests 17$CMD --features 'unstable musl-reference-tests' 18$CMD --release --features 'unstable musl-reference-tests' 19