Skip to content

Commit e6d6e5c

Browse files
committed
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.
1 parent 2919bd3 commit e6d6e5c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/CI.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
uses: actions-rs/toolchain@v1
158158
with:
159159
profile: minimal
160-
toolchain: stable
160+
toolchain: nightly
161161
override: true
162162

163163
- name: Install cbindgen
@@ -171,8 +171,8 @@ jobs:
171171
env:
172172
RUSTFLAGS: --cfg hyper_unstable_ffi
173173
with:
174-
command: build
175-
args: --features client,http1,http2,ffi
174+
command: rustc
175+
args: --features client,http1,http2,ffi -Z unstable-options --crate-type cdylib
176176

177177
- name: Make Examples
178178
run: cd capi/examples && make client

0 commit comments

Comments
 (0)