denoland / rusty_v8

Rust bindings for the V8 JavaScript engine
https://crates.io/crates/v8
MIT License
3.08k stars 300 forks source link

enable v8 sandbox #1485

Closed ry closed 3 weeks ago

mmastrac commented 1 month ago

Hmm. Is there a new step we need to add to init?

#
# Fatal error in , line 0
# Check failed: i::GetProcessWideSandbox()->is_initialized().
#
#
#
bartlomieju commented 1 month ago

@mmastrac appears this is done in V8::initialize():

https://github.com/denoland/v8/blob/35447497cb1589588d68a3c6a90a0b676742ba2a/src/init/v8.cc#L266-L272

ry commented 3 weeks ago

needs work!