From 413ead61fe043f80b3add2691154fb7b23074dd5 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Thu, 1 Jul 2021 14:19:37 +0200 Subject: [PATCH 1/2] feat(c-api) Update cbindgen to 0.19. --- Cargo.lock | 4 ++-- lib/c-api/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 035e283a09f..53952a62821 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -215,9 +215,9 @@ dependencies = [ [[package]] name = "cbindgen" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97449daf9b8c245bcad10bbc7c9f4a37c06172c18dd5f9fac340deefc309b957" +checksum = "38728c31b994e4b849cf59feefb4a8bf26acd299ee0b92c9fb35bd14ad4b8dfa" dependencies = [ "clap", "heck", diff --git a/lib/c-api/Cargo.toml b/lib/c-api/Cargo.toml index 38f1cc9c544..9a9bb362dc9 100644 --- a/lib/c-api/Cargo.toml +++ b/lib/c-api/Cargo.toml @@ -91,4 +91,4 @@ native = ["dylib"] #emscripten = ["wasmer-emscripten"] [build-dependencies] -cbindgen = "0.18" +cbindgen = "0.19" From 56f1d5a785f0e1f6bc5d8855903b52133b3cff7c Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Mon, 5 Jul 2021 09:24:42 +0200 Subject: [PATCH 2/2] fix(ci) Use `.gz` rather than `.xz` for the LLVM archive. --- .github/workflows/lint.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index e1e0d25e437..8421665f22c 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -23,9 +23,9 @@ jobs: components: rustfmt, clippy - name: Install LLVM (Linux) run: | - curl --proto '=https' --tlsv1.2 -sSf https://github.com/wasmerio/llvm-custom-builds/releases/download/11.x/linux-amd64.tar.gz -L -o /opt/llvm.tar.xz + curl --proto '=https' --tlsv1.2 -sSf https://github.com/wasmerio/llvm-custom-builds/releases/download/11.x/linux-amd64.tar.gz -L -o /opt/llvm.tar.gz mkdir -p /opt/llvm-11 - tar xf /opt/llvm.tar.xz --strip-components=1 -C /opt/llvm-11 + tar xf /opt/llvm.tar.gz --strip-components=1 -C /opt/llvm-11 echo '/opt/llvm-11/bin' >> $GITHUB_PATH echo 'LLVM_SYS_110_PREFIX=/opt/llvm-11' >> $GITHUB_ENV - run: make lint