File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -760,7 +760,7 @@ RUN curl -fsSL -o /usr/local/bin/bazel ${bazelisk_url} && chmod 755 /usr/local/b
760760
761761# Install Rust
762762ARG RUST_ROOT=/usr/.cargo
763- RUN RUSTUP_HOME=$RUST_ROOT CARGO_HOME=$RUST_ROOT bash -c 'curl --proto "=https" -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.79 .0 -y'
763+ RUN RUSTUP_HOME=$RUST_ROOT CARGO_HOME=$RUST_ROOT bash -c 'curl --proto "=https" -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.86 .0 -y'
764764{% if CROSS_BUILD_ENVIRON == "y" and CONFIGURED_ARCH == "armhf" %}
765765RUN mkdir -p /.cargo && $RUST_ROOT/bin/rustup target add armv7-unknown-linux-gnueabihf && echo "[target.armv7-unknown-linux-gnueabihf]\nlinker = \"arm-linux-gnueabihf-gcc\"" >> /.cargo/config.toml
766766{% endif -%}
@@ -770,6 +770,9 @@ RUN mkdir -p /.cargo && $RUST_ROOT/bin/rustup target add aarch64-unknown-linux-g
770770ENV RUSTUP_HOME=$RUST_ROOT
771771ENV PATH=$PATH:$RUST_ROOT/bin
772772
773+ # Install cargo-tarpaulin for code coverage
774+ RUN $RUST_ROOT/bin/cargo install --locked cargo-tarpaulin
775+
773776{# Include vendor-defined rules for slave container if it exists. Contained in ../files #}
774777{% with DEBIAN_VERSION ='trixie' %}
775778{% include 'files/sonic-slave-Dockerfile.vendor.j2' ignore missing %}
You can’t perform that action at this time.
0 commit comments