diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-02-16 19:19:32 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 19:19:32 +0530 |
commit | 0aeb8bc7591ec32e199b98f4532d6a962c6da6cb (patch) | |
tree | 6b67f9682493edefe8a1f9c125f9c11aaf672afe /ext/node/lib.rs | |
parent | 4c2380af5c8561fc0a5f8279c1c7336680d026ed (diff) |
perf(ext/node): move winerror binding to rust (#17792)
16873 lines of JS removed from the snapshot.
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r-- | ext/node/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs index 16d15e677..f4c23a16a 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -20,6 +20,7 @@ mod package_json; mod path; mod polyfill; mod resolution; +mod winerror; pub use package_json::PackageJson; pub use path::PathClean; @@ -229,7 +230,6 @@ pub fn init_polyfill() -> Extension { "internal_binding/_node.ts", "internal_binding/_timingSafeEqual.ts", "internal_binding/_utils.ts", - "internal_binding/_winerror.ts", "internal_binding/ares.ts", "internal_binding/async_wrap.ts", "internal_binding/buffer.ts", @@ -412,6 +412,7 @@ pub fn init_polyfill() -> Extension { crypto::op_node_hash_update::decl(), crypto::op_node_hash_digest::decl(), crypto::op_node_hash_clone::decl(), + winerror::op_node_sys_to_uv_error::decl(), op_node_build_os::decl(), ]) .build() |