fix: upgrade dependencies for FreeBSD 15+ compatibility#1734
Merged
Emilgardis merged 2 commits intocross-rs:mainfrom Jan 3, 2026
Merged
fix: upgrade dependencies for FreeBSD 15+ compatibility#1734Emilgardis merged 2 commits intocross-rs:mainfrom
Emilgardis merged 2 commits intocross-rs:mainfrom
Conversation
Upgrades several dependencies with breaking API changes: - nix 0.26.2 → 0.30.1 (FreeBSD 15+ support) - thiserror 1.0 → 2.0 - toml 0.7 → 0.9 - which 4.4 → 8.0 - const-sha1 0.2 → 0.3 - signal-hook 0.3 → 0.4 - directories 4.0 → 6.0 API migrations: - nix: errno() → Errno::last_raw(), from_i32() → from_raw() - const-sha1: ConstBuffer removed, use sha1() directly - toml: Deserializer::new() → Deserializer::parse() - which: enable default features for real-sys support
Contributor
Author
|
one of the failure is not related to my update. The other is ! Should we upgrade to edition 2024 ? I can upgrade the codebase. |
Member
|
You just need to update the version of cargo/rustc that we use in CI, do not have to upgrade the whole project to 2024. (cargo is perfectly capable of mixing editions between crates) here's where you'd do that: cross/.github/workflows/ci.yml Line 77 in e7b8115 |
bd9747c to
56e860c
Compare
update to latest stable
56e860c to
580f5d1
Compare
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Happy new year
I upgraded all the crates while doing the refactoring.
Upgrades several dependencies with breaking API changes:
API migrations: