From 93a562e3cb6eff67b15ccab4a37bca0dda8ebf1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Fri, 19 Apr 2024 10:58:12 +0200 Subject: [PATCH] meson: Fix the compiler snapshot autogen logic --- src/compiler/generate-agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/generate-agent.py b/src/compiler/generate-agent.py index 695082239..1bcd40bc9 100755 --- a/src/compiler/generate-agent.py +++ b/src/compiler/generate-agent.py @@ -76,7 +76,7 @@ def generate_agent(output_dir, priv_dir, input_dir, npm, v8_mksnapshot, host_os_ subprocess.run([ v8_mksnapshot, "--turbo-instruction-scheduling", - "--startup-blob=snapshot.bin", + f"--startup-blob={snapshot}", "embed.js", input_dir / "agent-warmup.js", ],