mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-12 09:27:11 +00:00
abuild.conf: add CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
This speeds up fetching of the crates index. https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html
This commit is contained in:
parent
97509ac620
commit
d7f5c73806
@ -15,6 +15,7 @@ export CARGO_PROFILE_RELEASE_OPT_LEVEL="s"
|
||||
export CARGO_PROFILE_RELEASE_PANIC="abort"
|
||||
export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
|
||||
export CARGO_PROFILE_RELEASE_LTO="true"
|
||||
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse"
|
||||
|
||||
# remove line below to disable colors
|
||||
USE_COLORS=1
|
||||
|
Loading…
Reference in New Issue
Block a user