Skip to content

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 disabled auto-merge September 16, 2024 14:42
@eandre eandre merged commit 54a8940 into encoredev:main Sep 16, 2024
@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