vexriscv-rust/ci/script.sh

12 lines
196 B
Bash

set -euxo pipefail
main() {
cargo check --target $TARGET
if [ $TRAVIS_RUST_VERSION = nightly ]; then
cargo check --target $TARGET --features 'const-fn inline-asm'
fi
}
main