Skip to content

Commit

Permalink
Remove CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse in CI (#3196)
Browse files Browse the repository at this point in the history
This should have been done as part of #2766.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
  • Loading branch information
david-perez authored Nov 15, 2023
1 parent 446326c commit b3ca5bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/ci-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,13 @@ COPY --chown=build:build --from=cargo_mdbook /opt/cargo/bin/mdbook /opt/cargo/bi
COPY --chown=build:build --from=cargo_mdbook_mermaid /opt/cargo/bin/mdbook-mermaid /opt/cargo/bin/mdbook-mermaid
COPY --chown=build:build --from=musl_toolchain /usr/local/musl/ /usr/local/musl/
ENV PATH=$PATH:/usr/local/musl/bin/
# TODO(Rust 1.70): The sparse registry config (`CARGO_REGISTRIES_CRATES_IO_PROTOCOL`) can be removed when upgrading to Rust 1.70
ENV PATH=/opt/cargo/bin:$PATH \
CARGO_HOME=/opt/cargo \
RUSTUP_HOME=/opt/rustup \
JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64 \
GRADLE_USER_HOME=/home/build/.gradle \
RUST_STABLE_VERSION=${rust_stable_version} \
RUST_NIGHTLY_VERSION=${rust_nightly_version} \
CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse \
CARGO_INCREMENTAL=0 \
RUSTDOCFLAGS="-D warnings" \
RUSTFLAGS="-D warnings" \
Expand Down

0 comments on commit b3ca5bf

Please sign in to comment.