script.sh 281 B

123456789101112131415
  1. set -euxo pipefail
  2. main() {
  3. cargo check --target $TARGET
  4. if [ $TRAVIS_RUST_VERSION = nightly ]; then
  5. cargo check --target $TARGET --features 'const-fn inline-asm'
  6. fi
  7. if [ $TARGET = x86_64-unknown-linux-gnu ]; then
  8. ./check-blobs.sh
  9. fi
  10. }
  11. main