mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
refactor(cli): remove ProcState - add CliFactory (#18900)
This removes `ProcState` and replaces it with a new `CliFactory` which initializes our "service structs" on demand. This isn't a performance improvement at the moment for `deno run`, but might unlock performance improvements in the future.
This commit is contained in:
parent
30628288ce
commit
9efed4c7a3
32 changed files with 1140 additions and 725 deletions
|
@ -66,6 +66,7 @@ pub trait HasNodeSpecifierChecker: Send + Sync {
|
|||
fn has_node_specifier(&self) -> bool;
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct CliMainWorkerOptions {
|
||||
pub argv: Vec<String>,
|
||||
pub debug: bool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue