diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-12-11 18:49:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-11 18:49:26 +0100 |
commit | 65e72b68acf57da8462b8e7b057e7adb9393b698 (patch) | |
tree | 00e955e1186b9512b009acbb6ee80feb8a3f1733 /cli/version.rs | |
parent | 9414dee9e56a9f42c07ada4f8e1be864a1a1b936 (diff) |
refactor(cli): decouple ops from ProgramState and Flags (#8659)
This commit does major refactor of "Worker" and "WebWorker",
in order to decouple them from "ProgramState" and "Flags".
The main points of interest are "create_main_worker()" and
"create_web_worker_callback()" functions which are responsible
for creating "Worker" and "WebWorker" in CLI context.
As a result it is now possible to factor out common "runtime"
functionality into a separate crate.
Diffstat (limited to 'cli/version.rs')
-rw-r--r-- | cli/version.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/version.rs b/cli/version.rs index 694ffc44b..63253cec8 100644 --- a/cli/version.rs +++ b/cli/version.rs @@ -13,7 +13,3 @@ pub fn deno() -> String { pub fn is_canary() -> bool { option_env!("DENO_CANARY").is_some() } - -pub fn v8() -> &'static str { - deno_core::v8_version() -} |