From a8a5f4bbefda70f1c8be04e7db40a9fde2b40ba7 Mon Sep 17 00:00:00 2001 From: Chavdar Ivanov Date: Sat, 11 Jul 2026 19:37:13 +0100 Subject: [PATCH] Update Cargo.toml rquickjs does not ship pre-generated bindings for NetBSD. Generate them. Same true for FreeBSD, OpenBSD and DragonFly. --- crates/workflow-js/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/workflow-js/Cargo.toml b/crates/workflow-js/Cargo.toml index 6b9af2e9a..00c3f6c92 100644 --- a/crates/workflow-js/Cargo.toml +++ b/crates/workflow-js/Cargo.toml @@ -21,5 +21,11 @@ tokio.workspace = true [target.'cfg(target_os = "android")'.dependencies] rquickjs = { workspace = true, features = ["bindgen"] } +# rquickjs does not ship pre-generated bindings for NetBSD. Generate them +# against the NDK sysroot so the advertised Termux/Android release target can +# compile instead of trying to include a nonexistent bindings file. +[target.'cfg(target_os = "netbsd")'.dependencies] +rquickjs = { workspace = true, features = ["bindgen"] } + [dev-dependencies] serde_json.workspace = true