blob: 5d2ae1b805d56d6e95d3a8acc51a43dd233af940 [file] [log] [blame]
#!/bin/sh
# build with all feature flags in the nightly
FEATURES=
if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
FEATURES="--features test"
else
if [ "$1" = "bench" ]; then exit 0; fi
fi
exec cargo "$@" $FEATURES