Lines Matching +full:default +full:- +full:build +full:- +full:release
3 set -ex
10 cargo --version
12 # Force default tests to disable default feature on NO_STD.
13 if [ ! -z $NO_STD ]; then
14 DEFAULT_FEATURES="--no-default-features"
15 DOCTESTS="--tests"
26 if [ ! -z $NO_FEATURES ]; then
32 check_features="$DEFAULT_FEATURES --features=$features"
33 cargo check --tests $check_features
37 # Build target.
38 build() { function
39 cargo build $DEFAULT_FEATURES
40 cargo build $DEFAULT_FEATURES --release
45 if [ ! -z $DISABLE_TESTS ]; then
48 if [ ! -z $NO_STD ]; then
52 # Default tests.
54 cargo test $DEFAULT_FEATURES $DOCTESTS --release
59 if [ ! -z $DISABLE_TESTS ]; then
63 # Default tests.
65 cargo test $DEFAULT_FEATURES $DOCTESTS --release
70 build
73 if [ ! -z $NIGHTLY ]; then
75 RUSTFLAGS="--deny warnings" cargo +nightly build --features=lint