mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
refactor: add 'deno_process' crate (#27680)
Untangled the whole `runtime/ops/process.rs` from `ext/node/` and moved to a separate `ext/process` crate.
This commit is contained in:
parent
339bc44c58
commit
0050857f51
28 changed files with 676 additions and 582 deletions
|
@ -50,14 +50,13 @@ impl TtyModeStore {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
use deno_process::JsNixError;
|
||||
#[cfg(windows)]
|
||||
use winapi::shared::minwindef::DWORD;
|
||||
#[cfg(windows)]
|
||||
use winapi::um::wincon;
|
||||
|
||||
#[cfg(unix)]
|
||||
use crate::ops::process::JsNixError;
|
||||
|
||||
deno_core::extension!(
|
||||
deno_tty,
|
||||
ops = [op_set_raw, op_console_size, op_read_line_prompt],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue