summaryrefslogtreecommitdiffstats
path: root/vendor/arc-swap/ci-check.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:41:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:41:35 +0000
commit7e5d7eea9c580ef4b41a765bde624af431942b96 (patch)
tree2c0d9ca12878fc4525650aa4e54d77a81a07cc09 /vendor/arc-swap/ci-check.sh
parentAdding debian version 1.70.0+dfsg1-9. (diff)
downloadrustc-7e5d7eea9c580ef4b41a765bde624af431942b96.tar.xz
rustc-7e5d7eea9c580ef4b41a765bde624af431942b96.zip
Merging upstream version 1.70.0+dfsg2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/arc-swap/ci-check.sh')
-rwxr-xr-xvendor/arc-swap/ci-check.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/arc-swap/ci-check.sh b/vendor/arc-swap/ci-check.sh
new file mode 100755
index 000000000..2a99dd1bc
--- /dev/null
+++ b/vendor/arc-swap/ci-check.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -ex
+
+rm -f Cargo.lock
+cargo build
+
+if [ "$RUST_VERSION" = 1.31.0 ] ; then
+ exit
+fi
+
+# Allow some warnings on the very old compiler.
+export RUSTFLAGS="-D warnings"
+
+cargo test --release --all-features
+cargo test --release --all-features -- --ignored