Break out runtime lib to main and worker (#3771)

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
Kitson Kelly 2020-01-25 06:15:01 +11:00 committed by Ryan Dahl
parent 8bc639a23e
commit 950537e8ef
12 changed files with 1657 additions and 1757 deletions

View file

@ -16,7 +16,8 @@ pub static COMPILER_SNAPSHOT_MAP: &[u8] =
pub static COMPILER_SNAPSHOT_DTS: &[u8] =
include_bytes!(concat!(env!("OUT_DIR"), "/COMPILER_SNAPSHOT.d.ts"));
pub static DENO_RUNTIME: &str = include_str!("js/lib.deno_runtime.d.ts");
pub static DENO_NS_LIB: &str = include_str!("js/lib.deno.d.ts");
pub static DENO_MAIN_LIB: &str = include_str!("js/lib.deno_main.d.ts");
#[test]
fn cli_snapshot() {