diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-02-20 16:29:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 21:29:57 +0000 |
commit | f90889e5ee19e0ddcd9c1dbcce98720e417dd83e (patch) | |
tree | e44392e9506ba8cddc4c142d304f43879a418152 /cli/module_loader.rs | |
parent | dbc4a4d6327062918b3bc41dc3f60c84ae3c620b (diff) |
perf(jsr): fast check cache and lazy fast check graph (#22485)
Diffstat (limited to 'cli/module_loader.rs')
-rw-r--r-- | cli/module_loader.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs index 4e0fe7142..d2742d1ba 100644 --- a/cli/module_loader.rs +++ b/cli/module_loader.rs @@ -127,7 +127,6 @@ impl ModuleLoadPreparer { graph_kind: graph.graph_kind(), roots: roots.clone(), loader: Some(&mut cache), - workspace_fast_check: false, }, ) .await?; @@ -157,12 +156,13 @@ impl ModuleLoadPreparer { if self.options.type_check_mode().is_true() && !self.graph_container.is_type_checked(&roots, lib) { - let graph = Arc::new(graph.segment(&roots)); + let graph = graph.segment(&roots); self .type_checker .check( graph, check::CheckOptions { + build_fast_check_graph: true, lib, log_ignored_options: false, reload: self.options.reload_flag() |