Skip to content

[windows-11-arm] Enable developer mode (to support creating symlinks as non-admin) #94

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

Open
1 of 4 tasks
dpaoliello opened this issue May 2, 2025 · 0 comments
Open
1 of 4 tasks

Comments

@dpaoliello
Copy link

Type of issue

  • Error when running a workflow.
  • Request for additional tools or software for an existing image.
  • Request for a new image, Linux or Windows.
  • Other

Describe the issue
Windows 11 requires developer mode to be enabled to support creating symlinks without elevation to admin.

The x64 image already has this enabled: https://github.com/actions/runner-images/blob/5676b8b82520e84040b0e57569be0c0db7d92c4c/images/windows/scripts/build/Configure-DeveloperMode.ps1

To Reproduce
Create a symbolic link. For example, in PowerShell:

Set-Content -Path test.txt -Value "Hello, World!"
New-Item -Type SymbolicLink -Path linked.txt -Value test.txt

Expected behavior
Symbolic link is created.

Desktop (please complete the following information):
Windows 11 Arm64

Zalathar added a commit to Zalathar/rust that referenced this issue May 8, 2025
[win][arm64] Disable std::fs tests that require symlinks

While trying to get the aarch64-msvc build working correctly (rust-lang#140136), various tests in `std::fs` were failing as the Arm64 Windows runner image we are using does not have Developer Mode enabled, thus it cannot create symlinks.

I've [filed a request to get Developer Mode enabled](actions/partner-runner-images#94), but in the meantime I've disabled the relevant tests on Arm64 Windows.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue May 8, 2025
[win][arm64] Disable std::fs tests that require symlinks

While trying to get the aarch64-msvc build working correctly (rust-lang#140136), various tests in `std::fs` were failing as the Arm64 Windows runner image we are using does not have Developer Mode enabled, thus it cannot create symlinks.

I've [filed a request to get Developer Mode enabled](actions/partner-runner-images#94), but in the meantime I've disabled the relevant tests on Arm64 Windows.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue May 8, 2025
[win][arm64] Disable std::fs tests that require symlinks

While trying to get the aarch64-msvc build working correctly (rust-lang#140136), various tests in `std::fs` were failing as the Arm64 Windows runner image we are using does not have Developer Mode enabled, thus it cannot create symlinks.

I've [filed a request to get Developer Mode enabled](actions/partner-runner-images#94), but in the meantime I've disabled the relevant tests on Arm64 Windows.
rust-timer added a commit to rust-lang-ci/rust that referenced this issue May 8, 2025
Rollup merge of rust-lang#140759 - dpaoliello:symlink, r=workingjubilee

[win][arm64] Disable std::fs tests that require symlinks

While trying to get the aarch64-msvc build working correctly (rust-lang#140136), various tests in `std::fs` were failing as the Arm64 Windows runner image we are using does not have Developer Mode enabled, thus it cannot create symlinks.

I've [filed a request to get Developer Mode enabled](actions/partner-runner-images#94), but in the meantime I've disabled the relevant tests on Arm64 Windows.
github-actions bot pushed a commit to carolynzech/rust that referenced this issue May 16, 2025
[win][arm64] Disable std::fs tests that require symlinks

While trying to get the aarch64-msvc build working correctly (rust-lang#140136), various tests in `std::fs` were failing as the Arm64 Windows runner image we are using does not have Developer Mode enabled, thus it cannot create symlinks.

I've [filed a request to get Developer Mode enabled](actions/partner-runner-images#94), but in the meantime I've disabled the relevant tests on Arm64 Windows.
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

No branches or pull requests

1 participant