summaryrefslogtreecommitdiffstats
path: root/vendor/libz-sys/ci/set_rust_version.bash
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libz-sys/ci/set_rust_version.bash')
-rwxr-xr-xvendor/libz-sys/ci/set_rust_version.bash4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/libz-sys/ci/set_rust_version.bash b/vendor/libz-sys/ci/set_rust_version.bash
new file mode 100755
index 000000000..d822cd56f
--- /dev/null
+++ b/vendor/libz-sys/ci/set_rust_version.bash
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+set -e
+rustup default $1
+rustup target add $2