Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
The i686 toolchain is used when building for the Android emulator and more or less nothing else these days. It turns out that bindgen isn't aware of compilation target by default and for some reason the code generated for 64bit OSes will crash on i686 Android (and maybe others). This crate rebuilds the bindings whenever the library is built, ensuring platform consistency.
Making this change breaks compatibility with the higher level library that uses libquickjs-sys, so I made a fresh fork. There are a bunch of required functions (e.g.
JS_NewBool) inlined in the header file rather than in the
.c file, so the C compiler doesn't include them. To that end I've created
quickjs+extern.c to expose those functions correctly.
Enable this to add bigint support to QuickJS
Dumps out variables still being held in the JS engine whenever it is released. Useful to debugging memory leaks.
cargo publish please run
cargo script scripts/generate-bindings.rs. There's a better way to do this, I'm sure.