Skip to content

Commit

Permalink
Bump deno_core to 0.321.0
Browse files Browse the repository at this point in the history
Required changes:
* Modify implementation to utilize new deno_core::JsRuntime v8 initialization API.
  • Loading branch information
jasonforal committed Nov 22, 2024
1 parent 2941465 commit 8a1c8df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/static-analysis-kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ indexmap = { workspace = true }
tree-sitter = { workspace = true }

# other
deno_core = "0.292.0"
deno_core = "0.321.0"
globset = "0.4.14"
graphviz-rust = "0.9.0"
sequence_trie = "0.3.6"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ pub fn cfg_test_v8() -> V8Platform<CfgTest> {
// In order to get around this, we can use the "unprotected" v8 platform.
let platform = v8::new_unprotected_default_platform(0, false);
let shared_platform = platform.make_shared();
deno_core::JsRuntime::init_platform(Some(shared_platform));
deno_core::JsRuntime::init_platform(Some(shared_platform), false);
});

V8Platform::<CfgTest>(std::marker::PhantomData)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl V8Platform<Uninitialized> {
fn initialize(self, thread_pool_size: u32) -> V8Platform<Initialized> {
let platform = v8::new_default_platform(thread_pool_size, false);
let shared_platform = platform.make_shared();
deno_core::JsRuntime::init_platform(Some(shared_platform));
deno_core::JsRuntime::init_platform(Some(shared_platform), false);

V8Platform::<Initialized>(std::marker::PhantomData)
}
Expand Down

0 comments on commit 8a1c8df

Please sign in to comment.