Open
Description
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:
- New ODS Rust Jenkins Agent by default would provide support for a specific Rust toolchain/version and build tools.
- A team with existing Rust components would be forced to update their Rust version, with the current approach.
- 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 torustup
) 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.