rusty_v8
rusty_v8 copied to clipboard
Rust bindings for the V8 JavaScript engine
Refs https://github.com/denoland/deno/issues/11502. The C++ API has a lot of flags that customize its behavior but rusty_v8 exposes none of them. It should, probably through a builder pattern, with defaults that...
References should have the same lifetime as its associated Isolate/SnapshotCreator. `'static` shouldn't be necessary
when I use rust-skia and rusty_v8 together, the rust-skia binary release is MD, while rusty_v8 binary is MT,link will failed. so I think It's more convenient to supply a MD...
Ref [docs](https://v8docs.nodesource.com/node-4.8/d5/dda/classv8_1_1_isolate.html#a66324a6a0a257b62865065bf539fa442) Support `v8::Isolate::get_current()`, we can get current isolate snapshot in a existed process
I've got the raw functionality working, but I'm not sure at all about the API and the lifetimes/generics. For the time being I've managed to patch something that works for...
It would be great to build/publish this as a target (for alpine and other platforms without glibc, iiuc). It already seems to build okay (`--target x86_64-unknown-linux-musl`). (see also https://github.com/denoland/deno/issues/3711#issuecomment-576040797) It's...
Fails intermittently like this when executing `sccache --show-stats`: ``` /home/runner/work/_temp/c2b88417-fdca-4378-b8c3-66cea7ddc094.sh: line 1: sccache: command not found ``` I've removed the CI phase that stops sccache in #876 because it was...
Convenience method. Could imagine it going somewhere like here https://github.com/denoland/rusty_v8/blob/3315ccd4e9d2c98a6c626ff8c047fa9817769da3/src/object.rs#L551 Look something like this (ish) ``` pub fn iter(&self, scope: &mut HandleScope
I am trying to build Deno on OpenBSD current amd64: ```bash $ RUST_BACKTRACE=full AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 cargo install deno ``` And I get this error: ```bash Compiling rusty_v8 v0.26.0 error[E0308]: mismatched...
Add some bindings to serialize and load compiled WebAssembly module cache. With these bindings, we can cache the compiling result of WebAssembly module: https://github.com/denoland/deno/issues/11918#issuecomment-955683827 Test is not working currently.