diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-07-01 23:14:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-02 00:14:41 +0200 |
commit | 4e2f02639ef2cbcfdd335c4446f6faa6a29ad264 (patch) | |
tree | ed76c7f0abd3bb8fba967a6a3399d0fb9cd2ce1a /core/ops_builtin.rs | |
parent | 6afdcf59b80b4a3ecf60f220ddff14f4309133d0 (diff) |
refactor(core): don't use extension macro for core js (#19616)
Seems like too much of a special case because `init_cbs()` needs to be
called right after them. Removes the `Extension::is_core` stuff.
Diffstat (limited to 'core/ops_builtin.rs')
-rw-r--r-- | core/ops_builtin.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/ops_builtin.rs b/core/ops_builtin.rs index 3728d132e..eeb753d5a 100644 --- a/core/ops_builtin.rs +++ b/core/ops_builtin.rs @@ -79,10 +79,6 @@ crate::extension!( ops_builtin_v8::op_has_pending_promise_rejection, ops_builtin_v8::op_arraybuffer_was_detached, ], - js = ["00_primordials.js", "01_core.js", "02_error.js"], - customizer = |ext: &mut crate::ExtensionBuilder| { - ext.deno_core(); - } ); /// Return map of resources with id as key |