From 19a9442371c76bbfc7a9b477af6dc46212f56dc2 Mon Sep 17 00:00:00 2001 From: max-lt Date: Mon, 26 Feb 2024 20:18:54 +0100 Subject: [PATCH] Set const snapshot --- src/runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime.rs b/src/runtime.rs index 57ab8f7..945bd89 100644 --- a/src/runtime.rs +++ b/src/runtime.rs @@ -19,7 +19,7 @@ use log::debug; const USER_AGENT: &str = concat!("OpenWorkers/", env!("CARGO_PKG_VERSION")); -static RUNTIME_SNAPSHOT: &[u8] = include_bytes!(concat!( +const RUNTIME_SNAPSHOT: &[u8] = include_bytes!(concat!( env!("CARGO_MANIFEST_DIR"), "/target/RUNTIME_SNAPSHOT.bin" ));