summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-06-30 10:13:03 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2020-06-30 10:13:03 +0900
commitd6d9040d13aa74210cf6f596ab688d9b99766fba (patch)
treec1b362f988445ff27c1d3b5bbc300fd3885c9b8c
parentb6396caf3116000ca7a54a67bd339b108b166759 (diff)
downloadrust-libc-d6d9040d13aa74210cf6f596ab688d9b99766fba.tar.gz
Make semver check workable
-rw-r--r--ci/semver.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/ci/semver.sh b/ci/semver.sh
index 35715dcf23..1b0a7f64de 100644
--- a/ci/semver.sh
+++ b/ci/semver.sh
@@ -13,10 +13,15 @@ if ! rustc --version | grep -E "nightly" ; then
exit 1
fi
+# FIXME: Pin nightly version to make semverver compile.
+NIGHTLY_DATE=nightly-2020-06-18
+
+rustup override set ${NIGHTLY_DATE}
+
rustup component add rustc-dev llvm-tools-preview
# FIXME: Use upstream once it gets rustup.
-cargo +nightly install semververfork
+cargo +${NIGHTLY_DATE} install semververfork
TARGETS=
case "${OS}" in
@@ -73,5 +78,5 @@ for TARGET in $TARGETS; do
done
# FIXME: Use upstream once it gets rustup.
- cargo +nightly semverfork --api-guidelines --target="${TARGET}"
+ cargo +${NIGHTLY_DATE} semverfork --api-guidelines --target="${TARGET}"
done