Closed rzhao271 closed 5 months ago
Wouldn't it be more stable to fix the build to a certain version?
It would be less likely for the build to break if we stayed with a constant version of Rust, but the pipeline would fall behind more often.
I noticed the Windows jobs already use the latest stable when building Rust. Do the Linux jobs have more specific Rust version requirements?
I believe that there were issues with the musl build and minimum glibc requirements on Linux https://github.com/microsoft/ripgrep-prebuilt/issues/24. I think the purpose of fixing the version was because this process is a little fragile and I'll need to go back to look at it to know what the best way to handle this is.
Closing this PR. code-cli is also manually bumping Rust versions at this time.
With this PR, we always use the latest stable Rust when building ripgrep for Linux.
Verification build: https://dev.azure.com/vscode/ripgrep-prebuilt/_build/results?buildId=118999&view=results