rusty_v8
rusty_v8 copied to clipboard
Rust bindings for the V8 JavaScript engine
The following code crashes if V8 is built with debug checks: use rusty_v8 as v8; fn create() -> v8::OwnedIsolate { v8::Isolate::new(Default::default()) } fn main() { let v8_platform = v8::new_default_platform(0, false).make_shared();...
This is due to the fact chromium's build uses at least one build flag that sccache doesn't understand (so it refuses to cache). Upgrading our (dated) version of sccache to...
According the gn args listed at , I added required configurations in `build.rs`. In addition to these targets, I plan to add support for Mac Catalyst in follow-up PRs: ```shell...
This is the continuous effort of PR #752 Should pass all test cases.
Removed in https://github.com/denoland/rusty_v8/pull/969
https://github.com/denoland/rusty_v8/blob/64ce32392a680695975a7d40921f11d1e4bbf7c5/src/inspector.rs#L275-L281 https://github.com/denoland/rusty_v8/blob/64ce32392a680695975a7d40921f11d1e4bbf7c5/src/inspector.rs#L538-L544 The call to `.base()` here on line 281 (and line 544) creates a reference to an uninitialized `T`, because `base()` is defined to take `&self` as its receiver....
v8 provides [`Value::TypeOf`](https://v8.github.io/api/head/classv8_1_1Value.html#a1f6e02579b0ddd7d223dd37bfea728d6) but this is not exposed in rusty_v8. Is it possible that this could be added?