aboutsummaryrefslogtreecommitdiff
path: root/ci/test-stable.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/test-stable.sh')
-rw-r--r--ci/test-stable.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/test-stable.sh b/ci/test-stable.sh
index 01a32f5..4421f3a 100644
--- a/ci/test-stable.sh
+++ b/ci/test-stable.sh
@@ -5,7 +5,8 @@ set -ex
cmd="${1:-test}"
# Install cargo-hack for feature flag test
-cargo install cargo-hack
+host=$(rustc -Vv | grep host | sed 's/host: //')
+curl -LsSf https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-$host.tar.gz | tar xzf - -C ~/.cargo/bin
# Run with each feature
# * --each-feature includes both default/no-default features