microsoft / go

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

[release-branch.go1.21] Remove long path support hack #1182

Closed qmuntal closed 5 months ago

qmuntal commented 6 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.21 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 6 months ago

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