Skip to content

Commit b0a08ad

Browse files
ci4ic4Hmbown
authored andcommitted
build(workflow-js): generate QuickJS bindings on NetBSD
rquickjs ships no pre-generated bindings for NetBSD, so the advertised build fails trying to include a nonexistent bindings file. Enable the bindgen feature for the NetBSD target, mirroring the Android arm directly above. The explanatory comment is corrected from the Android copy it was pasted from. Harvested from PR #4349 by @ci4ic4 Co-authored-by: Chavdar Ivanov <6495973+ci4ic4@users.noreply.github.com>
1 parent f8e7573 commit b0a08ad

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

crates/workflow-js/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,11 @@ tokio.workspace = true
2121
[target.'cfg(target_os = "android")'.dependencies]
2222
rquickjs = { workspace = true, features = ["bindgen"] }
2323

24+
# rquickjs does not ship pre-generated bindings for NetBSD. Generate them at
25+
# build time so the crate compiles there instead of trying to include a
26+
# nonexistent bindings file.
27+
[target.'cfg(target_os = "netbsd")'.dependencies]
28+
rquickjs = { workspace = true, features = ["bindgen"] }
29+
2430
[dev-dependencies]
2531
serde_json.workspace = true

0 commit comments

Comments
 (0)