From 5ee671311a174b5461483db788f732fe736b6549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 4 Sep 2024 11:49:31 +0100 Subject: chore: remove some dead code around DENO_FUTURE env var (#25418) These codepaths were not used anymore. --- cli/worker.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cli') diff --git a/cli/worker.rs b/cli/worker.rs index 7000fd204..64400af20 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -138,7 +138,6 @@ struct SharedWorkerState { maybe_inspector_server: Option>, maybe_lockfile: Option>, feature_checker: Arc, - enable_future_features: bool, code_cache: Option>, } @@ -453,8 +452,6 @@ impl CliMainWorkerFactory { maybe_inspector_server, maybe_lockfile, feature_checker, - // TODO(2.0): remove? - enable_future_features: true, code_cache, }), } @@ -591,7 +588,6 @@ impl CliMainWorkerFactory { argv0: shared.options.argv0.clone(), node_debug: shared.options.node_debug.clone(), node_ipc_fd: shared.options.node_ipc, - future: shared.enable_future_features, mode, serve_port: shared.options.serve_port, serve_host: shared.options.serve_host.clone(), @@ -787,7 +783,6 @@ fn create_web_worker_callback( argv0: shared.options.argv0.clone(), node_debug: shared.options.node_debug.clone(), node_ipc_fd: None, - future: shared.enable_future_features, mode: WorkerExecutionMode::Worker, serve_port: shared.options.serve_port, serve_host: shared.options.serve_host.clone(), -- cgit v1.2.3