From 795aa87b723d105ffa6e5f10d5afc7c6930baa91 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Fri, 16 Oct 2026 17:30:02 +0700 Subject: [PATCH] Fix rust compilation --- recipes/dev/rust/recipe.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipes/dev/rust/recipe.toml b/recipes/dev/rust/recipe.toml index 93d5cc8f2..e1aab8aa2 100644 --- a/recipes/dev/rust/recipe.toml +++ b/recipes/dev/rust/recipe.toml @@ -30,9 +30,6 @@ sed -i "s|TARGET|${TARGET}|g" config.toml else DYNAMIC_INIT -# Linker flags for stage2 compiler (host -> target) -ARCH="${TARGET%%-*}" -export CARGO_TARGET_${ARCH^^}_UNKNOWN_REDOX_RUSTFLAGS="${RUSTFLAGS}" # Rust # Hack for Rust errorneusly running `llvm-config --version` on cross compiled llvm-config cat "${COOKBOOK_ROOT}/bin/${TARGET}-llvm-config" > "${COOKBOOK_SYSROOT}/bin/llvm-config" # Hack for Rust stage1 being dynamically linked with LLVM in prefix toolchain