#!/usr/bin/env bash set -euxo pipefail cargo check --target $TARGET if [[ $TARGET == riscv* ]]; then cargo check --target $TARGET --examples fi if [ $TRAVIS_RUST_VERSION = nightly ]; then cargo check --target $TARGET --features 'inline-asm' fi if [ $TARGET = x86_64-unknown-linux-gnu ]; then PATH="$PATH:$PWD/gcc/bin" ./check-blobs.sh fi