From 7de4bc974614c62ae932ac0e167721aee7769300 Mon Sep 17 00:00:00 2001 From: Surma Date: Thu, 12 Nov 2026 13:23:54 +0000 Subject: [PATCH] Select the WASI target explicitly in the remaining guest build helpers --- host/tests/it/git_compat.rs | 10 +++++++++- host/tests/it/undo_exec.rs | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/host/tests/it/git_compat.rs b/host/tests/it/git_compat.rs index d5902d6..d53ec9c 100644 --- a/host/tests/it/git_compat.rs +++ b/host/tests/it/git_compat.rs @@ -10,7 +10,15 @@ async fn default_identity_and_which() -> anyhow::Result<()> { let target = crate::common::build_git(); assert!( std::process::Command::new("cargo") - .args(["build", "--release", "-p", "sausage-exec-tools", "--locked"]) + .args([ + "build", + "--release", + "--target", + "wasm32-wasip2", + "-p", + "sausage-exec-tools", + "--locked", + ]) .current_dir(&userland) .status()? .success() diff --git a/host/tests/it/undo_exec.rs b/host/tests/it/undo_exec.rs index 41693b3..f1aa0af 100644 --- a/host/tests/it/undo_exec.rs +++ b/host/tests/it/undo_exec.rs @@ -44,6 +44,8 @@ async fn tool_call_commit_and_independent_change() { .args([ "build", "--release", + "--target", + "wasm32-wasip2", "-p", "git", "-p",