Skip to content

Commit

Permalink
Test 'const-extern-fn' on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Oct 29, 2019
1 parent 5dfc2c8 commit add284a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ test_target() {
cargo "+${RUST}" "${BUILD_CMD}" -vv $opt --no-default-features --target "${TARGET}" \
--features extra_traits

# Test the 'const-extern-fn' feature on nightly
if [ "${RUST}" = "nightly" ]; then
cargo "+${RUST}" "${BUILD_CMD}" -vv $opt --no-default-features --target "${TARGET}" \
--features const-extern-fn
fi


# Also test that it builds with `extra_traits` and default features:
if [ "$NO_STD" != "1" ]; then
cargo "+${RUST}" "${BUILD_CMD}" -vv $opt --target "${TARGET}" \
Expand Down

0 comments on commit add284a

Please sign in to comment.