diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-12-03 00:40:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-02 23:40:27 +0000 |
commit | f6b889b43219e3c9be770c8b2758bff3048ddcbd (patch) | |
tree | d379a0a92e301b548ba91697804650fb13eba046 /runtime/web_worker.rs | |
parent | 0f990d9d927a0b25bc0eac32f2e7eee7c0460693 (diff) |
refactor: snapshotting of runtime/ and cli/ (#21430)
This commit removes some of the technical debt related
to snapshotting JS code:
- "cli/ops/mod.rs" and "cli/build.rs" no longer define "cli" extension
which was not required anymore
- Cargo features for "deno_runtime" crate have been unified in
"cli/Cargo.toml"
- "cli/build.rs" uses "deno_runtime::snapshot::create_runtime_snapshot"
API
instead of copy-pasting the code
- "cli/js/99_main.js" was completely removed as it's not necessary
anymore
Towards https://github.com/denoland/deno/issues/21137
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r-- | runtime/web_worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index 9e8fc8097..e1d4651d6 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -397,7 +397,7 @@ impl WebWorker { }); // NOTE(bartlomieju): ordering is important here, keep it in sync with - // `runtime/build.rs`, `runtime/worker.rs` and `cli/build.rs`! + // `runtime/build.rs`, `runtime/worker.rs` and `runtime/snapshot.rs`! let mut extensions = vec![ // Web APIs |