diff --git a/.cirrus.yml b/.cirrus.yml index 63a1de956..1cd106778 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,4 +1,4 @@ -only_if: $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH == 'staging') +only_if: $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'staging') auto_cancellation: $CIRRUS_BRANCH != 'master' env: CARGO_INCREMENTAL: '0' diff --git a/ci/no_atomic.sh b/ci/no_atomic.sh index 186b8bcce..10bbf61dd 100755 --- a/ci/no_atomic.sh +++ b/ci/no_atomic.sh @@ -11,6 +11,7 @@ cd "$(dirname "$0")"/.. file="no_atomic.rs" no_atomic_cas=() +no_atomic_32=() no_atomic_64=() no_atomic=() for target in $(rustc --print target-list); do @@ -27,13 +28,11 @@ for target in $(rustc --print target-list); do # `"target-pointer-width" == "32"`, so assuming them `"max-atomic-width" == 32` # for now. 32 | null) no_atomic_64+=("${target}") ;; + 16) no_atomic_32+=("${target}") ;; # `"max-atomic-width" == 0` means that atomic is not supported at all. - 0) - no_atomic_64+=("${target}") - no_atomic+=("${target}") - ;; + 0) no_atomic+=("${target}") ;; 64 | 128) ;; - # There is no `"max-atomic-width" == 16` or `"max-atomic-width" == 8` targets. + # There is no `"max-atomic-width" == 8` targets. *) exit 1 ;; esac case "${min_atomic_width}" in @@ -63,6 +62,15 @@ done cat >>"${file}" <>"${file}" +done +cat >>"${file}" <