diff options
| author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-08-28 22:30:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-28 15:30:46 -0600 |
| commit | bd034e360d036d9634d8526a6eea73979b3ad9e1 (patch) | |
| tree | f10130a89208b13bfee039ea661623d81a120e5d /runtime/Cargo.toml | |
| parent | 7adaf613bfbeab0f6aed92294e3eea912990d819 (diff) | |
refactor(runtime): factor out code between build.rs and worker.rs (#20299)
Adds `runtime/shared.rs` which is imported by both `build.rs` and the
rest of the crate, containing utilities used by both.
Renames the `snapshot_from_snapshot` feature to
`exclude_runtime_main_js` since that's what it does and it's relevant
outside of snapshotting when `__runtime_js_sources` is specified.
Diffstat (limited to 'runtime/Cargo.toml')
| -rw-r--r-- | runtime/Cargo.toml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index f181ba1c2..d4401effd 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -14,9 +14,8 @@ description = "Provides the deno runtime library" docsrs = [] # A feature that disables creation of startup snapshot during in the build script. dont_create_runtime_snapshot = [] -# A feature that changes how startup snapshot is generated, that allows -# extending it in embedder crates. -snapshot_from_snapshot = [] +# A feature that allows excluding `./js/99_main.js` from the exported extension. +exclude_runtime_main_js = [] # A feature that disables embedding of the JavaScript source files in the binary. # With this feature enabled, the sources must be consumed during build time, # by creating a startup snapshot. |
