From 7b9ec41e082107d4ff39fe07b6b1c468449172ad Mon Sep 17 00:00:00 2001 From: jbesraa Date: Mon, 23 Sep 2024 12:08:53 +0300 Subject: [PATCH] Upgrade `cbindgen` to v0.21.0 v0.20.0 breaking CI with `use of unstable library feature 'mixed_integer_ops'` error --- scripts/build_header.sh | 2 +- scripts/sv2-header-check.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build_header.sh b/scripts/build_header.sh index 046723cca6..6f0b4957de 100755 --- a/scripts/build_header.sh +++ b/scripts/build_header.sh @@ -1,5 +1,5 @@ #! /bin/sh -cargo install --version 0.20.0 cbindgen +cargo install --version 0.21.0 cbindgen --force rm -f ./sv2.h touch ./sv2.h diff --git a/scripts/sv2-header-check.sh b/scripts/sv2-header-check.sh index 7464009ebf..8f3a7f50a4 100755 --- a/scripts/sv2-header-check.sh +++ b/scripts/sv2-header-check.sh @@ -21,7 +21,7 @@ if ! command -v sha1sum >/dev/null 2>&1; then exit 1 fi -cargo install --version 0.20.0 cbindgen +cargo install --version 0.21.0 cbindgen --force set -ex # cargo install cbindgen --force bts