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.
This commit is contained in:
Rémy Rakic
2022-02-26 03:08:12 +01:00
committed by Sean McArthur
parent 1c6637060e
commit bd591f43fd

View File

@@ -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