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/tools/compile.rs | |
parent | dbc4a4d6327062918b3bc41dc3f60c84ae3c620b (diff) |
perf(jsr): fast check cache and lazy fast check graph (#22485)
Diffstat (limited to 'cli/tools/compile.rs')
-rw-r--r-- | cli/tools/compile.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tools/compile.rs b/cli/tools/compile.rs index 70baed669..0a5e75f9a 100644 --- a/cli/tools/compile.rs +++ b/cli/tools/compile.rs @@ -24,7 +24,7 @@ pub async fn compile( ) -> Result<(), AnyError> { let factory = CliFactory::from_flags(flags).await?; let cli_options = factory.cli_options(); - let module_graph_builder = factory.module_graph_builder().await?; + let module_graph_creator = factory.module_graph_creator().await?; let parsed_source_cache = factory.parsed_source_cache(); let binary_writer = factory.create_compile_binary_writer().await?; let module_specifier = cli_options.resolve_main_module()?; @@ -56,7 +56,7 @@ pub async fn compile( .await?; let graph = Arc::try_unwrap( - module_graph_builder + module_graph_creator .create_graph_and_maybe_check(module_roots.clone()) .await?, ) @@ -65,7 +65,7 @@ pub async fn compile( // In this case, the previous graph creation did type checking, which will // create a module graph with types information in it. We don't want to // store that in the eszip so create a code only module graph from scratch. - module_graph_builder + module_graph_creator .create_graph(GraphKind::CodeOnly, module_roots) .await? } else { |