mirror of
https://github.com/termux/termux-packages.git
synced 2025-08-14 19:33:05 +00:00
Co-authored-by: Chongyun Lee <45286352+licy183@users.noreply.github.com> Co-authored-by: Jia Yuan Lo <jylo06g@gmail.com>
17 lines
465 B
Diff
17 lines
465 B
Diff
--- a/cli/snapshot/lib.rs
|
|
+++ b/cli/snapshot/lib.rs
|
|
@@ -1,10 +1,9 @@
|
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
|
|
#[cfg(not(feature = "disable"))]
|
|
-pub static CLI_SNAPSHOT: Option<&[u8]> = Some(include_bytes!(concat!(
|
|
- env!("OUT_DIR"),
|
|
- "/CLI_SNAPSHOT.bin"
|
|
-)));
|
|
+pub static CLI_SNAPSHOT: Option<&[u8]> = Some(include_bytes!(
|
|
+ env!("DENO_PREBUILT_CLI_SNAPSHOT")
|
|
+));
|
|
#[cfg(feature = "disable")]
|
|
pub static CLI_SNAPSHOT: Option<&[u8]> = None;
|
|
|