Remove ts_library_builder, maintain lib.deno_runtime.d.ts by hand (#2827)

This commit is contained in:
Ryan Dahl 2019-08-30 11:11:33 -04:00 committed by GitHub
parent 5401cb7630
commit c370f749b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 2869 additions and 1753 deletions

View file

@ -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"),
};