mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
Remove ts_library_builder, maintain lib.deno_runtime.d.ts by hand (#2827)
This commit is contained in:
parent
5401cb7630
commit
c370f749b2
29 changed files with 2869 additions and 1753 deletions
|
@ -80,6 +80,7 @@ pub const OP_READ_LINK: OpId = 53;
|
|||
pub const OP_TRUNCATE: OpId = 54;
|
||||
pub const OP_MAKE_TEMP_DIR: OpId = 55;
|
||||
pub const OP_CWD: OpId = 56;
|
||||
pub const OP_FETCH_ASSET: OpId = 57;
|
||||
|
||||
pub fn dispatch(
|
||||
state: &ThreadSafeState,
|
||||
|
@ -293,6 +294,12 @@ pub fn dispatch(
|
|||
dispatch_json::dispatch(fs::op_make_temp_dir, state, control, zero_copy)
|
||||
}
|
||||
OP_CWD => dispatch_json::dispatch(fs::op_cwd, state, control, zero_copy),
|
||||
OP_FETCH_ASSET => dispatch_json::dispatch(
|
||||
compiler::op_fetch_asset,
|
||||
state,
|
||||
control,
|
||||
zero_copy,
|
||||
),
|
||||
_ => panic!("bad op_id"),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue