diff options
author | andy finch <andyfinch7@gmail.com> | 2019-03-08 13:11:05 -0500 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-08 13:11:05 -0500 |
commit | 8c7a12d1b258f0ef5ab27f49c424331d43e8d97f (patch) | |
tree | 8675467a39a239adcedf4c376e4c8a82763cd2af /src | |
parent | aed3e590ba31039eede60e7023b6097df944c46f (diff) |
Add basic Arm64 build to CI (#1887)
Diffstat (limited to 'src')
-rw-r--r-- | src/isolate_init.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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 { |