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

perf(ext/node): move winerror binding to rust #17792

Merged
merged 5 commits into from
Feb 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix
  • Loading branch information
littledivy committed Feb 16, 2023
commit 78931f5cc532984ebd5172a966b8d5ff230599ab
3 changes: 2 additions & 1 deletion ext/node/polyfills/internal_binding/_libuv_winerror.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.

const { ops } = globalThis.__bootstrap.core;

export function uvTranslateSysError(sysErrno: number): string {
return ops.op_node_uv_to_sys_error(sysErrno);
return ops.op_node_sys_to_uv_error(sysErrno);
}