Skip to content

ci: add override flag to rust toolchain installation in release workflow#236

Merged
sameh-farouk merged 1 commit into
mainfrom
main_ci_release
Sep 29, 2025
Merged

ci: add override flag to rust toolchain installation in release workflow#236
sameh-farouk merged 1 commit into
mainfrom
main_ci_release

Conversation

@0oM4R
Copy link
Copy Markdown
Contributor

@0oM4R 0oM4R commented Sep 29, 2025

This PR updates the CI workflow to include the --override flag when installing Rust targets with rustup.

Details

Previously, the workflow used rustup target add without --override.

Added --override ensures the specified target is installed and available for the active toolchain in the workflow.
reference: https://github.com/actions-rs/toolchain?tab=readme-ov-file#inputs

This helps prevent build failures like:

error[E0463]: can't find crate for `core`
note: the `x86_64-unknown-linux-musl` target may not be installed

I tried the build on an example workflow on https://github.com/threefoldtech/rmb-rs/actions/runs/18095666645/job/51485995286
related issue:

@sameh-farouk sameh-farouk merged commit 8d9a0ee into main Sep 29, 2025
1 check passed
@0oM4R 0oM4R deleted the main_ci_release branch September 29, 2025 12:06
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