Skip to content

Commit 3833fa7

Browse files
authored
feat: update Rust ecosystem to v1.84.0 (#700)
* deps(cpp, rust): update git to 1:2.43.0-1ubuntu7.2 * deps: update Rust tooling Update Rust to v1.84.0 Update cargo-binstal to v1.10.22 Update cargo-mutants to v25.0.0 Update flip-link to v0.1.10 Update probe-rs-tools to v0.26.0 * chore: test cargo-binstall for probe-rs-tools * chore: debug probe-rs-tools install failure * chore: try to form correct pkg-url for probe-rs aarch64 * chore: try different strategy * chore: fix typo in cargo-binstall arguments * chore: retest * chore: revert and split off to separate PR * chore: make coverage test robust against changing toolchain versions
1 parent 920b61f commit 3833fa7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.devcontainer/rust/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM ubuntu:24.04@sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab
22

33
ARG BATS_VERSION=1.11.0
4-
ARG CARGO_BINSTALL_VERSION=1.10.8
5-
ARG RUST_VERSION=1.81.0
4+
ARG CARGO_BINSTALL_VERSION=1.10.22
5+
ARG RUST_VERSION=1.84.0
66

77
ARG DEBIAN_FRONTEND=noninteractive
88

@@ -47,6 +47,6 @@ RUN update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-14 20 \
4747
ENV BINSTALL_DISABLE_TELEMETRY=true
4848
# Install additional rust tools
4949
RUN wget -qO - "https://github.com/cargo-bins/cargo-binstall/releases/download/v${CARGO_BINSTALL_VERSION}/cargo-binstall-$(uname -m)-unknown-linux-gnu.tgz" | tar xz -C "/usr/bin" \
50-
&& cargo-binstall -y --locked [email protected] cargo-mutants@24.9.0 [email protected].9 \
50+
&& cargo-binstall -y --locked [email protected] cargo-mutants@25.0.0 [email protected].10 \
5151
# cargo-binstall can't (yet) install probe-rs-tools for aarch64, fall-back to script installation
52-
&& wget -qO - https://github.com/probe-rs/probe-rs/releases/download/v0.24.0/probe-rs-tools-installer.sh | sh
52+
&& wget -qO - https://github.com/probe-rs/probe-rs/releases/download/v0.26.0/probe-rs-tools-installer.sh | sh

test/rust/integration-tests.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ EOF
9797

9898
cargo profdata -- merge -sparse default_*.profraw -o default.profdata
9999

100-
run cargo cov -- report --instr-profile=default.profdata --object target/debug/deps/test-79ff237e4a2ee06d
100+
run cargo cov -- report --instr-profile=default.profdata --object $(find target/debug/deps -name "test-*" -executable)
101101
assert_success
102102
assert_output --partial "77.78%"
103103

0 commit comments

Comments
 (0)