Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change Rust version to stable #37

Closed
wants to merge 1 commit into from

Conversation

rzhao271
Copy link
Contributor

@rzhao271 rzhao271 commented Apr 3, 2024

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

@rzhao271 rzhao271 marked this pull request as ready for review April 3, 2024 16:57
@rzhao271 rzhao271 self-assigned this Apr 3, 2024
@rzhao271 rzhao271 added this to the April 2024 milestone Apr 3, 2024
@rzhao271 rzhao271 requested a review from andreamah April 3, 2024 16:58
@andreamah
Copy link
Contributor

Wouldn't it be more stable to fix the build to a certain version?

@rzhao271
Copy link
Contributor Author

rzhao271 commented Apr 3, 2024

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?

@andreamah
Copy link
Contributor

I believe that there were issues with the musl build and minimum glibc requirements on Linux #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.

@rzhao271
Copy link
Contributor Author

rzhao271 commented Apr 4, 2024

Closing this PR. code-cli is also manually bumping Rust versions at this time.

@rzhao271 rzhao271 closed this Apr 4, 2024
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