mirror of
https://github.com/vee1e/rattler.git
synced 2026-09-01 19:07:10 +00:00
* fix: compiling with pixi on linux I mostly had to switch from native-tls to rust-tls. Annoyingly, I didn't manage to convince the build-process to find libclang needed to compile libsolv so I skip that test for now * Update pixi.toml
8 lines
381 B
Bash
8 lines
381 B
Bash
# Ignore requiring a shebang as this is a script meant to be sourced
|
|
# shellcheck disable=SC2148
|
|
|
|
# Setup the mold linker when targeting x86_64-unknown-linux-gnu
|
|
set -Eeuo pipefail
|
|
export CARGO_TARGET_DIR=".pixi/target"
|
|
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER="clang"
|
|
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C link-arg=-fuse-ld=$CONDA_PREFIX/bin/mold"
|