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

RUST-2181 Fix rustup installation on windows #1336

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

abr-egn
Copy link
Contributor

@abr-egn abr-egn commented Mar 19, 2025

RUST-2181

This works around the cygwin symlink bug (rust-lang/rustup#4239) with a small script that replaces the symlinks with actual copies. This wouldn't be a good workaround for a long-lived installation because it'd mess with the rustup upgrade process, but because we're doing a clean install every time and then discarding it once tests are done it's fine here.

I went with python for the script rather than bash because I think it ends up being substantially more readable.

@abr-egn abr-egn force-pushed the RUST-2181/windows-rustup branch from 0c3da9a to cf138d1 Compare March 19, 2025 15:00
@abr-egn abr-egn marked this pull request as ready for review March 19, 2025 16:52
@abr-egn abr-egn requested a review from kevinAlbs March 19, 2025 16:52
Copy link
Contributor

@kevinAlbs kevinAlbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abr-egn abr-egn merged commit 557daf2 into mongodb:main Mar 19, 2025
16 checks passed
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