From 7a6f68365ff90ec167c1f9f35b7807513d2d11db Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sun, 15 Feb 2026 02:09:39 +0700 Subject: [PATCH] Link zstd to rust --- recipes/dev/rust/recipe.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/dev/rust/recipe.toml b/recipes/dev/rust/recipe.toml index 16e406ebe..f5e5619ce 100644 --- a/recipes/dev/rust/recipe.toml +++ b/recipes/dev/rust/recipe.toml @@ -35,7 +35,7 @@ export LDFLAGS_x86_64_unknown_redox="${LDFLAGS}" # LLVM export CARGO_TARGET_X86_64_UNKNOWN_REDOX_RUSTFLAGS="\ -Clink-args=-L${COOKBOOK_SYSROOT}/lib \ -Clink-args=-Wl,-rpath-link,${COOKBOOK_SYSROOT}/lib \ --Clink-args=-lz" +-Clink-args=-lz -Clink-args=-lzstd" # Hack for Rust errorneusly running `llvm-config --version` on cross compiled llvm-config cat "${COOKBOOK_ROOT}/bin/x86_64-unknown-redox-llvm-config" > "${COOKBOOK_SYSROOT}/bin/llvm-config" # Linker flags for stage1 compiler (host -> host)