Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: snapshot module for deno_runtime #21162

Merged
merged 6 commits into from
Nov 14, 2023

Conversation

littledivy
Copy link
Member

Closes #21134

deno_io::deno_io::init_ops_and_esm(Default::default()),
deno_fs::deno_fs::init_ops_and_esm::<Permissions>(fs.clone()),
deno_node::deno_node::init_ops_and_esm::<Permissions>(None, fs),
runtime::init_ops_and_esm(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this bit is actually only specifying the JS sources for the extensions but not actual ops - my idea was that this module would properly set up both JS and ops (and thus couldn't be used in runtime/build.rs for the time being, until we migrate to only using cli/build.rs).

@littledivy littledivy enabled auto-merge (squash) November 14, 2023 11:59
@littledivy littledivy merged commit eab7555 into denoland:main Nov 14, 2023
13 checks passed
@bartlomieju bartlomieju deleted the runtime_snapshot_mod branch November 14, 2023 14:47
kt3k pushed a commit that referenced this pull request Nov 17, 2023
zifeo pushed a commit to metatypedev/deno that referenced this pull request Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Snapshots: factor out generation of "runtime/" snapshot to a helper module
2 participants