From 88b92dcc932f7a1f88b94ac7f0aec077d28ff559 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20H=C3=A5=C3=A5vi?= <dhaavi@users.noreply.github.com>
Date: Tue, 14 Jan 2025 14:28:56 +0100
Subject: [PATCH] Fix rust-base build

Sometimes rust attempts to upgrade crates. This stops it from doing that.
---
 Earthfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Earthfile b/Earthfile
index bc0bc6c0..1bfa233e 100644
--- a/Earthfile
+++ b/Earthfile
@@ -425,7 +425,7 @@ rust-base:
     DO rust+INIT --keep_fingerprints=true
 
     # For now we need tauri-cli 2.0.0 for bulding
-    DO rust+CARGO --args="install tauri-cli --version 2.1.0"
+    DO rust+CARGO --args="install tauri-cli --version 2.1.0 --locked"
 
     # Explicitly cache here.
     SAVE IMAGE --cache-hint