chore: opt-in for sparse registry protocol (#7206)

Faster registry updates for our developers and the CI/CD pipeline.

See <https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#cargos-sparse-protocol>.
pull/24376/head
Marco Neumann 2023-03-14 14:09:13 +01:00 committed by GitHub
parent ca40177695
commit bdfab5fb64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
# sparse protocol opt-in
# See https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#cargos-sparse-protocol
[registries.crates-io]
protocol = "sparse"
[target.x86_64-unknown-linux-gnu]
rustflags = [
"-C", "link-arg=-fuse-ld=lld",