Azure / acr-builder

Azure Container Registry Build Runner
MIT License
38 stars 35 forks source link

pin golang.org/x/sys to v0.0.0-20190916202348-b4ddaad3f8a3 #586

Closed northtyphoon closed 3 years ago

northtyphoon commented 3 years ago

Purpose of the PR

https://github.com/Azure/acr-builder/pull/585 upgraded golang.org/x/sys and introduced a breaking change that failed Windows build.

The change pin the golang.org/x/sys to v0.0.0-20190916202348-b4ddaad3f8a3

pkg\system\filesys_windows.go:111:24: cannot use uintptr(unsafe.Pointer(&sd[0])) (type uintptr) as type *"golang.org/x/sys/windows".SECURITY_DESCRIPTOR in assignment