piu_engine 0.4.0

JavaScript engine facade for Deno
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2018-2026 the Deno authors. MIT license.

// Exactly one engine feature must be enabled: `jsc` (vendored static WebKit
// build) or `system_jsc` (OS JavaScriptCore.framework); both select the v8x
// JSC backend.
#[cfg(all(feature = "jsc", feature = "system_jsc"))]
compile_error!("engine features `jsc` and `system_jsc` are mutually exclusive");

#[cfg(not(any(feature = "jsc", feature = "system_jsc")))]
compile_error!(
  "one of the engine features `jsc` or `system_jsc` must be enabled"
);

pub use v8x_backend::*;