build-helper/rust.sh: prevent stripping by cargo
Some rust pacakges (e.g. eza and bat) do set strip = true in their release profile which removes the debug symbols before xbps-src can split them. closes #47459
This commit is contained in:
parent
b9d99e8826
commit
ee59a36bdd
|
@ -30,6 +30,9 @@ else
|
||||||
unset CARGO_BUILD_TARGET
|
unset CARGO_BUILD_TARGET
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# prevent cargo stripping debug symbols
|
||||||
|
export CARGO_PROFILE_RELEASE_STRIP=false
|
||||||
|
|
||||||
# For cross-compiling rust -sys crates
|
# For cross-compiling rust -sys crates
|
||||||
export PKG_CONFIG_ALLOW_CROSS=1
|
export PKG_CONFIG_ALLOW_CROSS=1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue