Skip to content

Install runner at C:\actions-runner so builds don't run in C:\Windows\System32 - #2

Merged
CleanCut merged 1 commit into
mainfrom
cleancut/outside-system32
Aug 31, 2026
Merged

Install runner at C:\actions-runner so builds don't run in C:\Windows\System32#2
CleanCut merged 1 commit into
mainfrom
cleancut/outside-system32

Conversation

@CleanCut

Copy link
Copy Markdown

EC2 Windows user data executes with a working directory of C:\Windows\System32, so a relative mkdir put the runner, its _work tree, and every multi-gigabyte Cargo target directory under a system directory Windows treats specially. An absolute path puts the build tree somewhere ordinary, removing a candidate source of the sporadic sharing violations that fail release builds mid-compile.

…\System32

EC2 Windows user data executes with a working directory of C:\Windows\System32, so a relative
mkdir put the runner, its _work tree, and every multi-gigabyte Cargo target directory under a
system directory Windows treats specially. An absolute path puts the build tree somewhere
ordinary, removing a candidate source of the sporadic sharing violations that fail release
builds mid-compile.
@CleanCut
CleanCut merged commit 6865ef6 into main Aug 31, 2026
1 check passed
@CleanCut
CleanCut deleted the cleancut/outside-system32 branch August 31, 2026 15:57
@CleanCut
CleanCut restored the cleancut/outside-system32 branch August 31, 2026 16:12
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.

1 participant