From 2f9d7c02dc87cfc57a6d37dc27bb0680b9ac7128 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 10 Mar 2021 15:16:43 -0500 Subject: upgrade: rusty_v8 0.21.0 (#9725) --- core/runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/runtime.rs') diff --git a/core/runtime.rs b/core/runtime.rs index 109732f0a..f6d0ab5a6 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -683,7 +683,7 @@ impl JsRuntime { let source_str = v8::String::new(scope, source).unwrap(); let origin = bindings::module_origin(scope, name_str); - let source = v8::script_compiler::Source::new(source_str, &origin); + let source = v8::script_compiler::Source::new(source_str, Some(&origin)); let tc_scope = &mut v8::TryCatch::new(scope); -- cgit v1.2.3