Skip to content

Commit 03e983a

Browse files
committed
Attempt to pass RUSTFLAGS through cross
1 parent 604cc2f commit 03e983a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/script.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ main() {
99
fi
1010

1111
# Build debug and release targets
12-
cross build --target $TARGET
13-
cross build --target $TARGET --release
12+
cross build $RUSTFLAGS --target $TARGET
13+
cross build $RUSTFLAGS --target $TARGET --release
1414

1515
if [ ! -z $DISABLE_TESTS ]; then
1616
return
1717
fi
1818

1919
# Run tests on debug and release targets.
20-
cross test --target $TARGET
21-
cross test --target $TARGET --release
20+
cross test $RUSTflAGS --target $TARGET
21+
cross test $RUSTFLAGS --target $TARGET --release
2222
}
2323

2424
# we don't run the "test phase" when doing deploys

0 commit comments

Comments
 (0)