Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overlay dev-lang/rust: Update to 1.73.0 #1281

Merged
merged 5 commits into from
Oct 19, 2023
Merged

overlay dev-lang/rust: Update to 1.73.0 #1281

merged 5 commits into from
Oct 19, 2023

Conversation

dongsupark
Copy link
Member

@dongsupark dongsupark commented Oct 17, 2023

Update dev-lang/rust to 1.73.0.

Based on Gentoo commit a36588cc963e.

Flatcar changes are based on commit 82f9e1b8dbbb.

Manual update is required because Github Actions of Rust does not work, due to a missing mips tarball of the previous version, Rust 1.72.0. So it is needed to sync rust-toolchain.eclass: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f66c64d25bc04fc2ef3bd3cba6a8fbc48f42be9f.

Testing done

CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/sdk/1139/cldsv/

/update-sdk

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

Get rust-toolchain.eclass in sync with Gentoo to be able to build
Rust 1.73+.

Otherwise build will fail due to a missing file from the upstream repo
rust-1.72.0-mips-unknown-linux-gnu.tar.xz.

Gentoo ref: f66c64d25bc04fc2ef3bd3cba6a8fbc48f42be9f
Sync with Gentoo to update dev-lang/rust to 1.73.0.

Gentoo ref: a36588cc963e0ecf32b38465c02039b20ecd7ea6
- Apply cross-compiling changes.
- Remove dependency on sys-apps/lsb-release, which conflicts with
  sys-apps/baselayout of Flatcar.
- Remove rust-src to keep the SDK size minimal.
- Add a comment about keeping the patchlevel 0 of stage0.
- Update Rust version from 1.72.1 to 1.73.0 in profiles.

Based on commit 82f9e1b
@dongsupark dongsupark marked this pull request as ready for review October 18, 2023 15:41
@dongsupark dongsupark requested a review from a team October 18, 2023 15:41
@dongsupark dongsupark merged commit 291ec13 into main Oct 19, 2023
1 check failed
@dongsupark dongsupark deleted the dongsu/rust-1.73.0 branch October 19, 2023 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants