Skip to content

Commit add284a

Browse files
committed
Test 'const-extern-fn' on nightly
1 parent 5dfc2c8 commit add284a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ci/build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ test_target() {
6767
cargo "+${RUST}" "${BUILD_CMD}" -vv $opt --no-default-features --target "${TARGET}" \
6868
--features extra_traits
6969

70+
# Test the 'const-extern-fn' feature on nightly
71+
if [ "${RUST}" = "nightly" ]; then
72+
cargo "+${RUST}" "${BUILD_CMD}" -vv $opt --no-default-features --target "${TARGET}" \
73+
--features const-extern-fn
74+
fi
75+
76+
7077
# Also test that it builds with `extra_traits` and default features:
7178
if [ "$NO_STD" != "1" ]; then
7279
cargo "+${RUST}" "${BUILD_CMD}" -vv $opt --target "${TARGET}" \

0 commit comments

Comments
 (0)