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