From bd591f43fdb3dafccf8fe8b67a28446799a83f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Rakic?= Date: Sat, 26 Feb 2022 03:08:12 +0100 Subject: [PATCH] chore(ci): test FFI on CI using nightly Now that FFI is opt-in using cargo's --crate-type, nightly needs to be used on CI: this flag is still unstable and requires a nightly to enable -Z unstable options. --- .github/workflows/CI.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f17db9e6..6df6dfee 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -157,7 +157,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: nightly override: true - name: Install cbindgen @@ -171,8 +171,8 @@ jobs: env: RUSTFLAGS: --cfg hyper_unstable_ffi with: - command: build - args: --features client,http1,http2,ffi + command: rustc + args: --features client,http1,http2,ffi -Z unstable-options --crate-type cdylib - name: Make Examples run: cd capi/examples && make client