From 300a136d4cda03773e45f32f61c5fa8076bf3a6e Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Wed, 27 Aug 2025 14:47:52 +0200 Subject: [PATCH] restore junctions to have os.ModeSymlink flag set on Windows Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- go.mod | 3 +++ 1 file changed, 3 insertions(+) diff --git a/go.mod b/go.mod index 4420a82a0..c93b71b5d 100644 --- a/go.mod +++ b/go.mod @@ -183,3 +183,6 @@ exclude ( github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 ) + +// restore junctions to have os.ModeSymlink flag set on Windows: https://github.com/docker/buildx/issues/3221 +godebug winsymlink=0