build-style/cargo: use env var to select sparse index mode
This commit is contained in:
parent
2bcb66a617
commit
3641d47af7
2 changed files with 5 additions and 3 deletions
|
@ -8,4 +8,6 @@ if [ "$CROSS_BUILD" ]; then
|
|||
makedepends+=" rust-std"
|
||||
fi
|
||||
|
||||
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
||||
|
||||
build_helper+=" rust"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue