From 8c7a12d1b258f0ef5ab27f49c424331d43e8d97f Mon Sep 17 00:00:00 2001 From: andy finch Date: Fri, 8 Mar 2019 13:11:05 -0500 Subject: Add basic Arm64 build to CI (#1887) --- src/isolate_init.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/isolate_init.rs b/src/isolate_init.rs index f025d8405..49fa0d96a 100644 --- a/src/isolate_init.rs +++ b/src/isolate_init.rs @@ -29,10 +29,10 @@ pub fn deno_isolate_init() -> IsolateInit { } } else { debug!("Deno isolate init with snapshots."); - #[cfg(not(feature = "check-only"))] + #[cfg(not(any(feature = "check-only", feature = "no-snapshot-init")))] let data = include_bytes!(concat!(env!("GN_OUT_DIR"), "/gen/snapshot_deno.bin")); - #[cfg(feature = "check-only")] + #[cfg(any(feature = "check-only", feature = "no-snapshot-init"))] let data = vec![]; unsafe { @@ -62,10 +62,10 @@ pub fn compiler_isolate_init() -> IsolateInit { } } else { debug!("Deno isolate init with snapshots."); - #[cfg(not(feature = "check-only"))] + #[cfg(not(any(feature = "check-only", feature = "no-snapshot-init")))] let data = include_bytes!(concat!(env!("GN_OUT_DIR"), "/gen/snapshot_compiler.bin")); - #[cfg(feature = "check-only")] + #[cfg(any(feature = "check-only", feature = "no-snapshot-init"))] let data = vec![]; unsafe { -- cgit v1.2.3