Commit dbdd2e06 authored by Adrien Plazas's avatar Adrien Plazas

cargo: Use the Meson build dir as the Cargo root

This avoids recompiling the dependencies evey time in Builder when Rust Analyzer is enabled.
parent b9a17bc3
......@@ -3,7 +3,7 @@
export MESON_BUILD_ROOT="$1"
export MESON_SOURCE_ROOT="$2"
export CARGO_TARGET_DIR="$MESON_BUILD_ROOT"/target
export CARGO_HOME="$CARGO_TARGET_DIR"/cargo-home
export CARGO_HOME="$MESON_BUILD_ROOT"/cargo-home
FEATURES="$6"
if [ $4 = "Devel" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment