mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue