microsoft / mu_devops

Project Mu Developer Operations
https://microsoft.github.io/mu/
Other
26 stars 22 forks source link

Use cargo-binstall to sync rust tool versions #319

Closed Javagedes closed 7 months ago

Javagedes commented 7 months ago

Update RustSetupSteps to download cargo-binstall and use it to download all other rust tools. This is to make it easy for CI to pass the updated RustEnvironmentCheck (https://github.com/microsoft/mu_basecore/pull/737) by downloading the exact tool versions as specified in the rust-toolchain.toml file.

Javagedes commented 7 months ago

One of the reasons for caching these in local pipelines was to reduce dependencies on external GitHub resources. But I think stability has been good enough lately that might be less of a concern now.

Do you want this moved to something else then? Or is this referencing the fact that binstall works by downloading from a gh release?

makubacki commented 7 months ago

One of the reasons for caching these in local pipelines was to reduce dependencies on external GitHub resources. But I think stability has been good enough lately that might be less of a concern now.

Do you want this moved to something else then? Or is this referencing the fact that binstall works by downloading from a gh release?

Just the fact that it installs from GitHub releases.