From cdba53a73d5bea9e19b4bb30dac6db55bdb28aad Mon Sep 17 00:00:00 2001 From: Arthur Silva Date: Tue, 5 Jul 2022 23:01:41 +0200 Subject: feat(core): Re-export v8 use_custom_libcxx feature (#14475) --- core/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/Cargo.toml b/core/Cargo.toml index 06072da69..0c8a2fa0a 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -12,6 +12,10 @@ description = "A modern JavaScript/TypeScript runtime built with V8, Rust, and T [lib] path = "lib.rs" +[features] +default = ["v8_use_custom_libcxx"] +v8_use_custom_libcxx = ["v8/use_custom_libcxx"] + [dependencies] anyhow = "1.0.57" deno_ops = { path = "../ops", version = "0.20.0" } @@ -27,7 +31,7 @@ serde_json = { version = "1.0.79", features = ["preserve_order"] } serde_v8 = { version = "0.53.0", path = "../serde_v8" } sourcemap = "=6.0.1" url = { version = "2.2.2", features = ["serde"] } -v8 = "0.44.3" +v8 = { version = "0.44.3", default-features = false } [[example]] name = "http_bench_json_ops" -- cgit v1.2.3