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

tsparser: fall back to junction points on windows #1401

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

eandre
Copy link
Member

@eandre eandre commented Sep 16, 2024

Windows requires Developer Mode to be enabled to use
symlinks without admin permissions. This isn't always enabled,
so fall back to using junction points if symlink creation fails.

This is for example what rustup does already.
See rust-lang/rustup#3687 for example.

@eandre eandre requested a review from fredr September 16, 2024 13:33
@encore-cla
Copy link

encore-cla bot commented Sep 16, 2024

All committers have signed the CLA.

fredr
fredr previously approved these changes Sep 16, 2024
Copy link
Member

@fredr fredr left a comment

Choose a reason for hiding this comment

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

Nice!

Windows requires Developer Mode to be enabled to use
symlinks without admin permissions. This isn't always enabled,
so fall back to using junction points if symlink creation fails.

This is for example what rustup does already.
See rust-lang/rustup#3687 for example.
@eandre eandre enabled auto-merge (rebase) September 16, 2024 14:36
@eandre eandre merged commit 54a8940 into encoredev:main Sep 16, 2024
4 checks passed
@eandre eandre deleted the tsparser-junction-points branch September 16, 2024 14:42
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