Skip to content

Conversation

@dcormier
Copy link
Contributor

golang.org/x/sys/windows.GUID is currently only available to builds
targeting GOOS=windows (see golang/go#36485). This change makes it
so windows builds continue to use golang.org/x/sys/windows.GUID,
while non-windows builds get a different structure that has all
the same fields and methods.

Fixes #158.

Copy link
Contributor

@jterry75 jterry75 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @kevpar - PTAL

jingxu97 added a commit to jingxu97/csi-proxy that referenced this pull request Feb 3, 2020
enable unit test by uncommenting main in .prow.sh. Add test module in
Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
jingxu97 added a commit to jingxu97/csi-proxy that referenced this pull request Feb 5, 2020
enable unit test by uncommenting main in .prow.sh. Add test module in
Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
jingxu97 added a commit to jingxu97/csi-proxy that referenced this pull request Feb 7, 2020
enable unit test by uncommenting main in .prow.sh. Add test module in
Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
`golang.org/x/sys/windows.GUID` is currently only available to builds
targeting `GOOS=windows` (see golang/go#36485). This change makes it
so `windows` builds continue to use `golang.org/x/sys/windows.GUID`,
while non-`windows` builds get a different structure that has all
the same fields and methods.
@dcormier
Copy link
Contributor Author

dcormier commented Mar 4, 2020

Rebased, assuming (at least some of) those warnings are cleaned up in master, since none of that is anywhere near any code I touched.

jingxu97 added a commit to jingxu97/csi-proxy that referenced this pull request Mar 7, 2020
enable unit test by uncommenting main in .prow.sh. Add test module in
Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
jingxu97 added a commit to jingxu97/csi-proxy that referenced this pull request Mar 7, 2020
enable unit test by uncommenting main in .prow.sh. Add test module in
Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
jingxu97 added a commit to jingxu97/csi-proxy that referenced this pull request Mar 7, 2020
enable unit test by uncommenting main in .prow.sh. Add test module in
Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
jingxu97 added a commit to jingxu97/csi-proxy that referenced this pull request Mar 7, 2020
enable unit test by uncommenting main in .prow.sh. Add test module in
Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
jingxu97 added a commit to jingxu97/csi-proxy that referenced this pull request Mar 9, 2020
enable unit test by uncommenting main in .prow.sh. Add test module in
Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
@dcormier
Copy link
Contributor Author

What's needed to move this forward?

@dtbartle
Copy link

Could someone merge this?

@scottcunningham
Copy link

Just wanted to ping this again

@TBBle
Copy link
Contributor

TBBle commented Jun 24, 2021

@microsoft/containerplat: This already had an approving review from @jterry75, I would have thought that would meet the review requirement? Is this just a bug in the merge-management script?

Edit: Hmm. I guess I can't tag Microsoft's groups like that.

@katiewasnothere katiewasnothere merged commit 60c1574 into microsoft:master Oct 26, 2021
@dcormier dcormier deleted the dc/guid branch October 27, 2021 20:00
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.

github.com/Microsoft/go-winio/pkg/guid v0.4.14 does not build on linux

7 participants