From a20fd46d65cf998ebb1794758e74e8954adedcec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Tue, 9 Apr 2024 10:31:29 +0200 Subject: [PATCH] ci: use application toolchain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- xtask/src/ci/build.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xtask/src/ci/build.rs b/xtask/src/ci/build.rs index e3529ecfc1..58d25b54de 100644 --- a/xtask/src/ci/build.rs +++ b/xtask/src/ci/build.rs @@ -35,7 +35,8 @@ impl Build { None }; - cmd!(sh, "cargo build --manifest-path ../Cargo.toml") + sh.change_dir(".."); + cmd!(sh, "cargo build") .args(self.cargo_build.artifact.arch.ci_cargo_args()) .cargo_build_args(&self.cargo_build) .args(&["--package", self.package.as_str()])