microsoft / go

The Microsoft build of the Go toolset
BSD 3-Clause "New" or "Revised" License
252 stars 20 forks source link

[release-branch.go1.22] Remove long path support hack #1181

Closed qmuntal closed 2 months ago

qmuntal commented 3 months ago

This commit backports https://github.com/microsoft/go/pull/1171, https://go-review.googlesource.com/c/go/+/570995 and https://go-review.googlesource.com/c/go/+/574695 to the Go 1.22 release branch.

CL 570995 and CL 574695 have been backported because they fix many edge-cases related to long path not being supported by the system.

It is necessary for APIScan compliance.

qmuntal commented 3 months ago

I've split the different changes in this PR into dedicated patch files so they are easier to review and maintain.