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 21, 2024
1 parent 3cf6987 commit 2de76af
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 @@ -466,7 +466,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 2de76af

Please sign in to comment.