Skip to content

fix: Install correct Rust toolchains for sub projects #1013

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

Merged
merged 4 commits into from
Mar 3, 2025

Conversation

Techassi
Copy link
Member

@Techassi Techassi commented Mar 3, 2025

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.

@Techassi Techassi self-assigned this Mar 3, 2025
@Techassi Techassi moved this to Development: In Progress in Stackable Engineering Mar 3, 2025
@Techassi Techassi changed the title fix: Bump cargo-cyclonedx to 0.5.7 to support v4 Cargo.lock format fix: Install correct Rust toolchains for sub projects Mar 3, 2025
NickLarsenNZ and others added 3 commits March 3, 2025 16:32
The behaviour of rustup has recently changed: rust-lang/rustup#3985

Co-authored-by: Techassi <[email protected]>
The behaviour of rustup has recently changed: rust-lang/rustup#3985

Co-authored-by: Techassi <[email protected]>
@Techassi Techassi marked this pull request as ready for review March 3, 2025 15:37
@Techassi Techassi moved this from Development: In Progress to Development: Waiting for Review in Stackable Engineering Mar 3, 2025
@sbernauer sbernauer moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Mar 3, 2025
@Techassi Techassi added this pull request to the merge queue Mar 3, 2025
Merged via the queue into main with commit 4c22ec7 Mar 3, 2025
3 checks passed
@Techassi Techassi deleted the fix/bump-cargo-cyclonedx-0.5.7 branch March 3, 2025 15:46
@Techassi Techassi moved this from Development: In Review to Development: Done in Stackable Engineering Mar 4, 2025
@lfrancke lfrancke moved this from Development: Done to Done in Stackable Engineering Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants