Skip to content

fix: Install correct Rust toolchains for sub projects - #1013

Merged
Techassi merged 4 commits into
mainfrom
fix/bump-cargo-cyclonedx-0.5.7
Mar 3, 2025
Merged

fix: Install correct Rust toolchains for sub projects#1013
Techassi merged 4 commits into
mainfrom
fix/bump-cargo-cyclonedx-0.5.7

Conversation

@Techassi

@TechassiTechassi commented Mar 3, 2025

Copy link
Copy Markdown
Member

Part of stackabletech/operator-templating#484

The stackable-base image pulls in a bunch of Rust based projects (config-utils, containerdebug, opa-bundle-builder). Each of those projects (might) use a different toolchain from what we set as the default toolchain (1.84.1 as of #1012).

Since 1.28.0 (released on 2025-03-02), rustup will no longer automatically install the toolchain specified in rust-toolchain.toml. Instead, we manually need to run rustup toolchain install to install it before building.

@TechassiTechassi self-assigned this Mar 3, 2025
@TechassiTechassi moved this to Development: In Progress in Stackable EngineeringMar 3, 2025
@TechassiTechassi changed the title fix: Bump cargo-cyclonedx to 0.5.7 to support v4 Cargo.lock formatfix: Install correct Rust toolchains for sub projectsMar 3, 2025
NickLarsenNZand others added 3 commits March 3, 2025 16:32
The behaviour of rustup has recently changed: rust-lang/rustup#3985
Co-authored-by: Techassi <git@techassi.dev>
The behaviour of rustup has recently changed: rust-lang/rustup#3985
Co-authored-by: Techassi <git@techassi.dev>
@Techassi
Techassi marked this pull request as ready for review March 3, 2025 15:37
@TechassiTechassi moved this from Development: In Progress to Development: Waiting for Review in Stackable EngineeringMar 3, 2025
@sbernauersbernauer moved this from Development: Waiting for Review to Development: In Review in Stackable EngineeringMar 3, 2025
@Techassi
Techassi added this pull request to the merge queueMar 3, 2025
Merged via the queue into main with commit 4c22ec7Mar 3, 2025
@Techassi
Techassi deleted the fix/bump-cargo-cyclonedx-0.5.7 branch March 3, 2025 15:46
@TechassiTechassi moved this from Development: In Review to Development: Done in Stackable EngineeringMar 4, 2025
@lfranckelfrancke moved this from Development: Done to Done in Stackable EngineeringMar 5, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants

@Techassi@sbernauer@lfrancke@NickLarsenNZ