Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 14 additions & 17 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 crates/static-analysis-kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ thiserror = { workspace = true }
tree-sitter = { workspace = true }

# other
deno_core = "0.394.0"
deno_core = "0.401.0"
globset = "0.4.16"
graphviz-rust = "0.9.6"
sequence_trie = "0.3.6"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const BASE_FLAGS: &str = concat!(
// and so it's possible for changes in their default flags to contradict ours. Until `deno_core`
// allows the creation of a JsRuntime without forcing v8 flags, we use the following flag
// to crash the process if there is a contradiction. This serves as a canary to investigate further.
" --abort-on-contradictory-flags",
" --flag-processing-mode=abort-on-error",
// Performance: compile JavaScript eagerly
" --no-lazy",
" --no-lazy-streaming",
Expand Down Expand Up @@ -155,11 +155,11 @@ mod tests {
assert!(result.is_err());
}

/// v8 is initialized with `--abort-on-contradictory-flags`.
/// v8 is initialized with `--flag-processing-mode=abort-on-error` (which will abort on contradictory flags).
/// (This is important -- see documentation in [`BASE_FLAGS`] -- hence it has an explicit test).
#[test]
fn v8_contradictory_flags_abort() {
assert!(BASE_FLAGS.contains("--abort-on-contradictory-flags"));
fn v8_flag_processing_mode() {
assert!(BASE_FLAGS.contains("--flag-processing-mode=abort-on-error"));
}

/// v8 is initialized without the ability to run `eval`-like functions.
Expand Down
Loading