Skip to content

Use cargo 1.91 on Noble#1375

Draft
adombeck wants to merge 8 commits intomainfrom
cargo-1.91
Draft

Use cargo 1.91 on Noble#1375
adombeck wants to merge 8 commits intomainfrom
cargo-1.91

Conversation

@adombeck
Copy link
Copy Markdown
Contributor

@adombeck adombeck commented Apr 1, 2026

  • debian/control: Bump build dependency on cargo to 1.91

    Noble archives now include cargo-1.91. We should always try to use the
    latest available cargo version to avoid issues when updating our Rust
    dependencies.

  • debian/rules: Use versioned cargo wrapper on Noble

    We hardcoded the path to the cargo executable to
    /usr/share/cargo/bin/cargo which is the wrapper shipped by the cargo
    package. On Noble, that's cargo 1.75. To build with the latest cargo
    version (currently cargo-1.91 on Noble) we have to use the cargo wrapper
    below /usr/lib/rust-$VERSION instead.

UDENG-8123

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.06%. Comparing base (5577062) to head (5fa0c64).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1375   +/-   ##
=======================================
  Coverage   87.06%   87.06%           
=======================================
  Files          93       93           
  Lines        6365     6365           
  Branches      111      111           
=======================================
  Hits         5542     5542           
  Misses        767      767           
  Partials       56       56           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread debian/rules Outdated
@adombeck adombeck force-pushed the cargo-1.91 branch 4 times, most recently from fcb3c4e to 622c635 Compare April 1, 2026 15:57
@adombeck
Copy link
Copy Markdown
Contributor Author

adombeck commented Apr 1, 2026

@adombeck adombeck force-pushed the cargo-1.91 branch 3 times, most recently from 849b113 to 6532279 Compare April 9, 2026 18:15
adombeck added 6 commits April 9, 2026 20:34
Noble archives now include cargo-1.91. We should always try to use the
latest available cargo version to avoid issues when updating our Rust
dependencies.
We hardcoded the path to the cargo executable to
/usr/share/cargo/bin/cargo which is the wrapper shipped by the cargo
package. On Noble, that's cargo 1.75. To build with the latest cargo
version (currently cargo-1.91 on Noble) we have to use the cargo wrapper
below /usr/lib/rust-$VERSION instead.
Useful to debug the issue that the cargo wrapper executes the wrong
cargo version
We already prepended the path to the directory of the cargo wrapper
(/usr/lib/rust-<version>/share/cargo/bin/cargo) but that directory
doesn't contain the rustc binary, so when the cargo wrapper called
rustc, it found and used the one in /usr/bin/.

WIP because we should rename the script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants