diff --git a/ci/build.sh b/ci/build.sh
index 051177e3af30a266a9374dcbff58049396680c29..e46c89fde03d1de7d62f9dbc8ac7dff04414a3c5 100644
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -154,13 +154,16 @@ x86_64-unknown-illumos \
 x86_64-unknown-linux-gnux32 \
 "
 
-RUST_OSX_TARGETS="\
-aarch64-apple-darwin \
+RUST_APPLE_TARGETS="\
 aarch64-apple-ios \
 x86_64-apple-darwin \
 x86_64-apple-ios \
 "
 
+RUST_NIGHTLY_APPLE_TARGETS="\
+aarch64-apple-darwin \
+"
+
 # The targets are listed here alphabetically
 TARGETS=""
 case "${OS}" in
@@ -183,7 +186,12 @@ case "${OS}" in
 
         ;;
     macos*)
-        TARGETS="${RUST_OSX_TARGETS}"
+        TARGETS="${RUST_APPLE_TARGETS}"
+
+        if [ "${RUST}" = "nightly" ]; then
+            TARGETS="${TARGETS} ${RUST_NIGHTLY_APPLE_TARGETS}"
+        fi
+
         ;;
     *)
         ;;