From 4db135efe04e40665c107ee4d28d8a1f406d7368 Mon Sep 17 00:00:00 2001 From: Julian Hofer Date: Thu, 9 Jul 2026 09:44:34 +0200 Subject: [PATCH] fix: add quoting for CARGO_TARGET I've noticed that paths with `&` inside them fail otherwise --- recipe/install-rust.sh | 2 +- recipe/meta.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/install-rust.sh b/recipe/install-rust.sh index cfad682..d33e083 100755 --- a/recipe/install-rust.sh +++ b/recipe/install-rust.sh @@ -41,7 +41,7 @@ if [[ "$target_platform" == linux* ]]; then mkdir -p $PREFIX/etc/conda/activate.d $PREFIX/etc/conda/deactivate.d cat <$PREFIX/etc/conda/activate.d/rust.sh -export CARGO_TARGET_${rust_env_arch}_LINKER=$CC +export CARGO_TARGET_${rust_env_arch}_LINKER="$CC" EOF cat <$PREFIX/etc/conda/deactivate.d/rust.sh diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 48149da..79396c3 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -70,7 +70,7 @@ source: folder: rust-std # [(linux or win) and x86_64] build: - number: 1 + number: 2 requirements: build: