diff options
author | andy finch <andyfinch7@gmail.com> | 2019-03-18 20:03:37 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-18 20:03:37 -0400 |
commit | cdfd32dd74d6286afe99fb5400e3dc0e9f2cec49 (patch) | |
tree | e8daa342c70ee472de28158d5448ed2078d0d9e9 /src/compiler.rs | |
parent | 34a2aa4de6cfe334cf0d26620d244d5c66a976a4 (diff) |
Re-implement init scripts in core (#1958)
Re-enables arm64 CI test
Diffstat (limited to 'src/compiler.rs')
-rw-r--r-- | src/compiler.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler.rs b/src/compiler.rs index 9edae8cf9..2d6e4a4b7 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -1,12 +1,12 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. use crate::cli::Buf; -use crate::isolate_init; use crate::isolate_state::IsolateState; use crate::msg; use crate::permissions::{DenoPermissions, PermissionAccessor}; use crate::resources; use crate::resources::Resource; use crate::resources::ResourceId; +use crate::startup_data; use crate::workers; use futures::Future; use serde_json; @@ -48,7 +48,7 @@ impl ModuleMetaData { fn lazy_start(parent_state: &IsolateState) -> Resource { let mut cell = C_RID.lock().unwrap(); - let isolate_init = isolate_init::compiler_isolate_init(); + let startup_data = startup_data::compiler_isolate_init(); let permissions = DenoPermissions { allow_read: PermissionAccessor::from(true), allow_write: PermissionAccessor::from(true), @@ -58,7 +58,7 @@ fn lazy_start(parent_state: &IsolateState) -> Resource { let rid = cell.get_or_insert_with(|| { let resource = workers::spawn( - isolate_init, + Some(startup_data), parent_state, "compilerMain()".to_string(), permissions, |