Files
simple-rust-tests/__enclave/virt_enclave/external/quickjs-rs/libquickjs-sys
2020-11-07 16:12:21 +08:00
..
2020-11-07 16:12:21 +08:00
2020-11-07 16:12:21 +08:00
2020-11-07 16:12:21 +08:00
2020-11-07 16:12:21 +08:00
2020-11-07 16:12:21 +08:00
2020-11-07 16:12:21 +08:00
2020-11-07 16:12:21 +08:00
2020-11-07 16:12:21 +08:00
2020-11-07 16:12:21 +08:00

libquickjs-sys

FFI Bindings for quickjs, a Javascript engine.

See the quick crate for a high-level wrapper.

Embedded VERSION: 2020-07-05

Embedded vs system

By default, an embedded version of quickjs is used.

If you want to use a version installed on your system, use:

libquickjs-sys = { version = "...", default-features = false, features = ["system"] }

Updating the embedded bindings

QuickJS sources and a pre-generated bindings.rs are included in the repo.

They are used if the embedded feature is enabled.

To updat the bindings, follow these steps:

  • (Install just)
  • Update the download URL in ./justfile
  • run just quickjs-update