From fcdc9ebb8eb500a2859eefa20fcfa26c9b620c35 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sun, 11 Sep 2022 23:37:25 +0100 Subject: [PATCH] Add bindgen feature for building quickjs on additional platforms Closes #126 --- Cargo.lock | 1 + lib/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index cb2d45db..6c133b4d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3073,6 +3073,7 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24311952af42d8252e399cf48e7d470cb413b1a11a1a5b7fab648cd2edec76c5" dependencies = [ + "bindgen 0.60.1", "cc", ] diff --git a/lib/Cargo.toml b/lib/Cargo.toml index e0dd9ddc..15aa4dd8 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -41,7 +41,7 @@ foundationdb = { version = "0.7.0", default-features = false, features = ["fdb-6 fuzzy-matcher = "0.3.7" geo = { version = "0.22.1", features = ["use-serde"] } indxdb = { version = "0.2.0", optional = true } -js = { version = "0.1.7", package = "rquickjs", features = ["classes", "futures", "loader", "macro", "properties", "parallel"], optional = true } +js = { version = "0.1.7", package = "rquickjs", features = ["bindgen", "classes", "futures", "loader", "macro", "properties", "parallel"], optional = true } lexical-sort = "0.3.1" log = "0.4.17" md-5 = "0.10.1"