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
|
||||
fi
|
||||
|
||||
# prevent cargo stripping debug symbols
|
||||
export CARGO_PROFILE_RELEASE_STRIP=false
|
||||
|
||||
# For cross-compiling rust -sys crates
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user