From 21a04ba633b3f477a684db71af4f548dcb9eca3e Mon Sep 17 00:00:00 2001 From: Marcus Weiner Date: Sat, 16 Sep 2023 12:11:47 +0200 Subject: [PATCH] Force target for testing --- xtask/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index c6082a5..74abed7 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -397,6 +397,7 @@ fn test(build_params: &BuildParams) -> Result<()> { cmd.current_dir(workspace()); cmd.arg("test"); cmd.arg("--workspace"); + cmd.arg("--target").arg("x86_64-unknown-linux-gnu"); cmd.arg("--config").arg("build.rustflags='--cfg platform=\"virt\"'"); build_params.add_build_arg(&mut cmd); if build_params.verbose {