0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-14 19:33:05 +00:00
Files
termux-packages/packages/deno/0003-use-prebuilt-snapshot.patch
Komo 6f978e2faf enable,bump(main/deno): 2.2.13 (#22379)
Co-authored-by: Chongyun Lee <45286352+licy183@users.noreply.github.com>
Co-authored-by: Jia Yuan Lo <jylo06g@gmail.com>
2025-06-23 23:33:00 +08:00

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;