mirror of
https://github.com/codewhale-hq/Codewhale.git
synced 2026-11-12 17:19:05 -10:00
Merge FreeBSD build fix
Harvested from PR #5254 by @mky rquickjs ships no pre-generated bindings for FreeBSD, so `rquickjs-sys` failed to compile there: rquickjs probably doesn't ship bindings for platform `x86_64-unknown-freebsd(n/a)`. try the `bindgen` feature instead. Adds the `bindgen` feature for `cfg(target_os = "freebsd")`, mirroring the NetBSD and Android blocks already directly above and below it — same shape, same rationale, same comment form. Co-authored-by: mky <[email protected]>
This commit is contained in:
commit
147e407464
1 file changed
+6
@@ -22,6 +22,12 @@ tokio.workspace = true
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
rquickjs = { workspace = true, features = ["bindgen"] }
|
||||
|
||||
# rquickjs does not ship pre-generated bindings for FreeBSD. Generate them at
|
||||
# build time so the crate compiles there instead of trying to include a
|
||||
# nonexistent bindings file.
|
||||
[target.'cfg(target_os = "freebsd")'.dependencies]
|
||||
rquickjs = { workspace = true, features = ["bindgen"] }
|
||||
|
||||
# rquickjs does not ship pre-generated bindings for NetBSD. Generate them at
|
||||
# build time so the crate compiles there instead of trying to include a
|
||||
# nonexistent bindings file.
|
||||
|
||||
Reference in new issue
Block a user