0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00
deno/ext/node
Jakub Jirutka 3436f65e20
fix(ext/node): remove unnecessary and incorrect type priority_t (#20276)
`getpriority` and `setpriority` on musl libc accepts `int` / `c_int` /
`i32` as the first argument, not `u32`.

Since the `PRIO_PROCESS` constant is imported from the same crate (libc)
as the `getpriority` and `setpriority` functions, this type cast seems
to be completely unnecessary here.

It was introduced in aa8078b688 by
@crowlKats.

Relevant sources:

-
835661543d/src/unix/linux_like/linux/musl/mod.rs (L739-L740)
- https://git.musl-libc.org/cgit/musl/tree/src/misc/setpriority.c
- https://git.musl-libc.org/cgit/musl/tree/src/misc/getpriority.c

Co-authored-by: Aapo Alasuutari <aapo.alasuutari@gmail.com>
2023-09-01 11:21:23 +02:00
..
ops fix(ext/node): remove unnecessary and incorrect type priority_t (#20276) 2023-09-01 11:21:23 +02:00
polyfills fix(node/http): don't leak resources on destroyed request (#20040) 2023-08-29 12:13:58 +00:00
analyze.rs chore: rename some helpers on the Fs trait (#20097) 2023-08-08 16:28:18 -04:00
build.rs build: allow disabling snapshots for dev (#20048) 2023-08-06 01:47:15 +02:00
Cargo.toml chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
clippy.toml refactor(ext/fs): deno_fs::FileSystem - conditional Send + Sync (#18993) 2023-05-08 11:02:02 -04:00
errors.rs fix(node): package path not exported error - add if types resolution was occurring (#19963) 2023-07-27 16:27:01 +00:00
global.rs chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
lib.rs refactor: upgrade deno_ast 0.28 and deno_semver 0.4 (#20193) 2023-08-21 09:53:52 +00:00
package_json.rs chore: rename some helpers on the Fs trait (#20097) 2023-08-08 16:28:18 -04:00
path.rs chore(ext/node): fix variable name (#17948) 2023-02-27 21:26:02 +01:00
polyfill.rs fix(node): repl._builtinLibs (#20046) 2023-08-04 14:30:48 +02:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00
resolution.rs chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00

deno_node

require and other node related functionality for Deno.