-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
chore: improve build times for ext/
changes
#13927
Conversation
Looks great, did you verify that snapshots are properly rebuilt when JS code changes in any of the |
Yup |
@@ -78,22 +78,33 @@ fn create_compiler_snapshot( | |||
) { | |||
// libs that are being provided by op crates. | |||
let mut op_crate_libs = HashMap::new(); | |||
op_crate_libs.insert("deno.console", deno_console::get_declaration()); | |||
op_crate_libs.insert("deno.url", deno_url::get_declaration()); | |||
op_crate_libs.insert("deno.web", deno_web::get_declaration()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems these get_declaration
methods could now be removed
This reverts commit 4e3ed37.
Time spent for a trivial change in
ext/crypto
:main
:This PR:
Skips running
deno (build.rs)
when it's not needed by removing extension crates as its build dependency.