From 1aa672213e2805f952efca620f764e59d1d50e65 Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Sun, 20 Sep 2026 21:53:01 -0400 Subject: [PATCH] Keep target libraries compatible with Rust --- recipes/extra/rust/recipe.kdl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/extra/rust/recipe.kdl b/recipes/extra/rust/recipe.kdl index 6fdb1ae0..249d3918 100644 --- a/recipes/extra/rust/recipe.kdl +++ b/recipes/extra/rust/recipe.kdl @@ -1,7 +1,7 @@ recipe { name "rust" version "1.94.1" - release 2 + release 3 description "The Rust programming language" url "https://www.rust-lang.org" archs "aarch64" "x86_64" @@ -61,10 +61,12 @@ WRAPPER chmod +x custom/llvm-config export PATH="$(pwd)/custom:$PATH" export CHOST="${recipe.arch}-unknown-linux-musl" + # Build the host toolchain and the freestanding target together. ./configure \ --prefix=/usr \ --build="${CHOST}" \ --host="${CHOST}" \ + --target="${CHOST},x86_64-unknown-none" \ --release-channel=stable \ --disable-docs \ --disable-codegen-tests \