Skip to content

Commit 5fb8597

Browse files
committed
fix: add --features cli to uniffi-bindgen in CI workflows
1 parent 4bf571e commit 5fb8597

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Generate Swift bindings
5151
run: |
5252
mkdir -p target/ios/swift
53-
cargo run --release --bin uniffi-bindgen -- generate \
53+
cargo run --release --features cli --bin uniffi-bindgen -- generate \
5454
--library target/aarch64-apple-ios/release/libcooklang_find.a \
5555
--language swift \
5656
--config uniffi.toml \
@@ -103,8 +103,7 @@ jobs:
103103
let package = Package(
104104
name: "CooklangFind",
105105
platforms: [
106-
.iOS(.v13),
107-
.macOS(.v10_15)
106+
.iOS(.v13)
108107
],
109108
products: [
110109
.library(
@@ -178,7 +177,7 @@ jobs:
178177
run: command -v cargo-ndk || cargo install cargo-ndk --locked
179178

180179
- name: Build uniffi-bindgen for host
181-
run: cargo build --bin uniffi-bindgen --release
180+
run: cargo build --features cli --bin uniffi-bindgen --release
182181

183182
- name: Build Android targets
184183
run: |
@@ -432,8 +431,7 @@ jobs:
432431
let package = Package(
433432
name: "CooklangFind",
434433
platforms: [
435-
.iOS(.v13),
436-
.macOS(.v10_15)
434+
.iOS(.v13)
437435
],
438436
products: [
439437
.library(

0 commit comments

Comments
 (0)