Phase 7 fix — pin rquickjs-sys bindgen for Android cross-compile

rquickjs-sys 0.11 ships pre-generated bindings only for x86_64 hosts;
Android targets need bindgen at build time. Direct-dep with the feature
flag so cargo's feature resolver lifts it to the transitive use through
strawcore-core → rquickjs → rquickjs-sys.
This commit is contained in:
Kayos 2026-05-24 17:36:44 -07:00
parent 467a5f10fa
commit 4e6a5dc929

View file

@ -26,6 +26,12 @@ tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync"] }
# (which has to stay `strawcore` so the .so name + Kotlin loadLibrary
# call keep working).
strawcore-core = { path = "../../../strawcore" }
# rquickjs-sys is pulled transitively by strawcore-core → rquickjs. The
# Android target has no pre-generated bindings — flip on the `bindgen`
# feature so cargo regenerates at build time. Direct dep so the feature
# flag propagates (cargo's unified feature resolver lifts this to the
# transitive use). Crafting-table has libclang preinstalled.
rquickjs-sys = { version = "0.11", default-features = false, features = ["bindgen"] }
# Error glue.
thiserror = "1"
# Single-threaded init for the runtime + extractor singletons.