Skip to content

Commit

Permalink
upgrade: rusty_v8 0.17.0, v8 9.0.123 (#9413)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju authored Feb 5, 2021
1 parent b635367 commit a6723fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lazy_static = "1.4.0"
libc = "0.2.82"
log = "0.4.13"
pin-project = "1.0.4"
rusty_v8 = "0.16.0"
rusty_v8 = "0.17.0"
serde = { version = "1.0.121", features = ["derive"] }
serde_json = { version = "1.0.61", features = ["preserve_order"] }
smallvec = "1.6.1"
Expand Down
2 changes: 2 additions & 0 deletions core/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ pub extern "C" fn host_import_module_dynamically_callback(
context: v8::Local<v8::Context>,
referrer: v8::Local<v8::ScriptOrModule>,
specifier: v8::Local<v8::String>,
_import_assertions: v8::Local<v8::FixedArray>,
) -> *mut v8::Promise {
let scope = &mut unsafe { v8::CallbackScope::new(context) };

Expand Down Expand Up @@ -714,6 +715,7 @@ fn shared_getter(
pub fn module_resolve_callback<'s>(
context: v8::Local<'s, v8::Context>,
specifier: v8::Local<'s, v8::String>,
_import_assertions: v8::Local<'s, v8::FixedArray>,
referrer: v8::Local<'s, v8::Module>,
) -> Option<v8::Local<'s, v8::Module>> {
let scope = &mut unsafe { v8::CallbackScope::new(context) };
Expand Down

0 comments on commit a6723fa

Please sign in to comment.