Skip to content

Rust QS enable dynamic toolchain/version support #1119

Open
@gerardcl

Description

@gerardcl

Is your feature request related to a problem? Please describe.
We currently fix the version supported of the Rust compiler and teams should be able to define their required version as per needs. Enabling backward and forward compatibility of the Jenkins CICD using Rust, with existing and new projects.

Describe the solution you'd like
Since rustup is the recommended tool to manage Rust toolchains/installations ODS should also provide it, hence enabling dynamic load of required projects' targets.

Example:

  1. New ODS Rust Jenkins Agent by default would provide support for a specific Rust toolchain/version and build tools.
  2. A team with existing Rust components would be forced to update their Rust version, with the current approach.
  3. With the new approach, by having rust-toolchain file in the root of their repo/component defining which version they use then that would make Jenkins (and any other team member developing on that component locally) dynamically load and use the right Rust version (thanks to rustup) when using the build tooling (cargo).

Describe alternatives you've considered
N/A

Additional context
In any case, we should provide a default official supported version.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions