[sys] windows: drop arm

11 views
Skip to first unread message

qiu laidongfeng (Gerrit)

unread,
Jul 26, 2025, 6:08:58 AM7/26/25
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

qiu laidongfeng has uploaded the change for review

Commit message

windows: drop arm

Fixes golang/go#71671
Change-Id: Id1d0a9c9bc1c33dbe28c14e2f7c4adb3ede2b3f9

Change diff

diff --git a/windows/types_windows_arm.go b/windows/types_windows_arm.go
deleted file mode 100644
index 321872c..0000000
--- a/windows/types_windows_arm.go
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package windows
-
-type WSAData struct {
- Version uint16
- HighVersion uint16
- Description [WSADESCRIPTION_LEN + 1]byte
- SystemStatus [WSASYS_STATUS_LEN + 1]byte
- MaxSockets uint16
- MaxUdpDg uint16
- VendorInfo *byte
-}
-
-type Servent struct {
- Name *byte
- Aliases **byte
- Port uint16
- Proto *byte
-}
-
-type JOBOBJECT_BASIC_LIMIT_INFORMATION struct {
- PerProcessUserTimeLimit int64
- PerJobUserTimeLimit int64
- LimitFlags uint32
- MinimumWorkingSetSize uintptr
- MaximumWorkingSetSize uintptr
- ActiveProcessLimit uint32
- Affinity uintptr
- PriorityClass uint32
- SchedulingClass uint32
- _ uint32 // pad to 8 byte boundary
-}

Change information

Files:
  • D windows/types_windows_arm.go
Change size: S
Delta: 1 file changed, 0 insertions(+), 35 deletions(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: sys
Gerrit-Branch: master
Gerrit-Change-Id: Id1d0a9c9bc1c33dbe28c14e2f7c4adb3ede2b3f9
Gerrit-Change-Number: 690655
Gerrit-PatchSet: 1
Gerrit-Owner: qiu laidongfeng <26454...@qq.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

qiu laidongfeng (Gerrit)

unread,
Jul 26, 2025, 6:09:12 AM7/26/25
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

qiu laidongfeng voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sys
Gerrit-Branch: master
Gerrit-Change-Id: Id1d0a9c9bc1c33dbe28c14e2f7c4adb3ede2b3f9
Gerrit-Change-Number: 690655
Gerrit-PatchSet: 1
Gerrit-Owner: qiu laidongfeng <26454...@qq.com>
Gerrit-Reviewer: qiu laidongfeng <26454...@qq.com>
Gerrit-Comment-Date: Sat, 26 Jul 2025 10:09:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Cherry Mui (Gerrit)

unread,
Aug 4, 2025, 12:15:31 PM8/4/25
to qiu laidongfeng, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, Quim Muntal, Alex Brainman, Brad Fitzpatrick, Gopher Robot, Go LUCI, golang-co...@googlegroups.com
Attention needed from Alex Brainman, Brad Fitzpatrick, Dmitri Shuralyov, Quim Muntal and qiu laidongfeng

Cherry Mui added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Cherry Mui . unresolved

In theory x/sys supports all supported versions of Go, which are Go 1.24 and later, when Go 1.25 is released. Perhaps we want to delay this until Go 1.24 is end of support?

However, if the port is too broken and it never works, perhaps it is fine to do now?

Open in Gerrit

Related details

Attention is currently required from:
  • Alex Brainman
  • Brad Fitzpatrick
  • Dmitri Shuralyov
  • Quim Muntal
  • qiu laidongfeng
Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: sys
    Gerrit-Branch: master
    Gerrit-Change-Id: Id1d0a9c9bc1c33dbe28c14e2f7c4adb3ede2b3f9
    Gerrit-Change-Number: 690655
    Gerrit-PatchSet: 1
    Gerrit-Owner: qiu laidongfeng <26454...@qq.com>
    Gerrit-Reviewer: Alex Brainman <alex.b...@gmail.com>
    Gerrit-Reviewer: Brad Fitzpatrick <brad...@golang.org>
    Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Reviewer: Quim Muntal <quimm...@gmail.com>
    Gerrit-Reviewer: qiu laidongfeng <26454...@qq.com>
    Gerrit-CC: Cherry Mui <cher...@google.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-Attention: Alex Brainman <alex.b...@gmail.com>
    Gerrit-Attention: Brad Fitzpatrick <brad...@golang.org>
    Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Attention: qiu laidongfeng <26454...@qq.com>
    Gerrit-Attention: Quim Muntal <quimm...@gmail.com>
    Gerrit-Comment-Date: Mon, 04 Aug 2025 16:15:26 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Dmitri Shuralyov (Gerrit)

    unread,
    Aug 5, 2025, 12:13:42 PM8/5/25
    to qiu laidongfeng, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, Cherry Mui, Quim Muntal, Alex Brainman, Brad Fitzpatrick, Gopher Robot, Go LUCI, golang-co...@googlegroups.com
    Attention needed from Alex Brainman, Brad Fitzpatrick, Quim Muntal and qiu laidongfeng

    Dmitri Shuralyov added 1 comment

    Patchset-level comments
    Cherry Mui . unresolved

    In theory x/sys supports all supported versions of Go, which are Go 1.24 and later, when Go 1.25 is released. Perhaps we want to delay this until Go 1.24 is end of support?

    However, if the port is too broken and it never works, perhaps it is fine to do now?

    Dmitri Shuralyov

    Since Go 1.25 is the last release that contains the broken windows/arm port, and the port is removed in Go 1.26, perhaps for now we should add a `//go:build !go1.26` constraint here? (Later on, once Go 1.27.0 is released and the go.mod's go directive is bumped up to 1.26.0, this file will be a no-op and can be deleted.)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alex Brainman
    • Brad Fitzpatrick
    • Quim Muntal
    • qiu laidongfeng
    Gerrit-Attention: qiu laidongfeng <26454...@qq.com>
    Gerrit-Attention: Quim Muntal <quimm...@gmail.com>
    Gerrit-Comment-Date: Tue, 05 Aug 2025 16:13:36 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Cherry Mui <cher...@google.com>
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Dmitri Shuralyov (Gerrit)

    unread,
    Sep 17, 2025, 12:51:21 PM9/17/25
    to qiu laidongfeng, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, Cherry Mui, Quim Muntal, Alex Brainman, Brad Fitzpatrick, Gopher Robot, Go LUCI, golang-co...@googlegroups.com
    Attention needed from Alex Brainman, Brad Fitzpatrick, Quim Muntal and qiu laidongfeng

    Dmitri Shuralyov added 1 comment

    Patchset-level comments
    Dmitri Shuralyov . resolved

    @26454...@qq.com Friendly ping. Are you able to resolve the remaining open thread? Thanks.

    Gerrit-Attention: qiu laidongfeng <26454...@qq.com>
    Gerrit-Attention: Quim Muntal <quimm...@gmail.com>
    Gerrit-Attention: Brad Fitzpatrick <brad...@golang.org>
    Gerrit-Attention: Alex Brainman <alex.b...@gmail.com>
    Gerrit-Comment-Date: Wed, 17 Sep 2025 16:51:17 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    qiu laidongfeng (Gerrit)

    unread,
    Sep 17, 2025, 1:43:18 PM9/17/25
    to goph...@pubsubhelper.golang.org, Dmitri Shuralyov, Cherry Mui, Quim Muntal, Alex Brainman, Brad Fitzpatrick, Gopher Robot, Go LUCI, golang-co...@googlegroups.com
    Attention needed from Cherry Mui and Dmitri Shuralyov

    qiu laidongfeng added 1 comment

    Patchset-level comments
    Cherry Mui . unresolved

    In theory x/sys supports all supported versions of Go, which are Go 1.24 and later, when Go 1.25 is released. Perhaps we want to delay this until Go 1.24 is end of support?

    However, if the port is too broken and it never works, perhaps it is fine to do now?

    Dmitri Shuralyov

    Since Go 1.25 is the last release that contains the broken windows/arm port, and the port is removed in Go 1.26, perhaps for now we should add a `//go:build !go1.26` constraint here? (Later on, once Go 1.27.0 is released and the go.mod's go directive is bumped up to 1.26.0, this file will be a no-op and can be deleted.)

    qiu laidongfeng

    Sorry for delay response. Recently, many things have taken up my time. I think it would be simpler to sumbit this CL when go1.27 released.


    Note: that cmd/go only matches known GOOS/GOARCH to build,and set windows/arm,go build output unspported GOOS/GOARCH pair window/arm,even if no hava build tag,the file will ignore.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Cherry Mui
    • Dmitri Shuralyov
    Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: sys
    Gerrit-Branch: master
    Gerrit-Change-Id: Id1d0a9c9bc1c33dbe28c14e2f7c4adb3ede2b3f9
    Gerrit-Change-Number: 690655
    Gerrit-PatchSet: 1
    Gerrit-Owner: qiu laidongfeng <26454...@qq.com>
    Gerrit-Reviewer: Alex Brainman <alex.b...@gmail.com>
    Gerrit-Reviewer: Brad Fitzpatrick <brad...@golang.org>
    Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Reviewer: Quim Muntal <quimm...@gmail.com>
    Gerrit-Reviewer: qiu laidongfeng <26454...@qq.com>
    Gerrit-CC: Cherry Mui <cher...@google.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-Attention: Cherry Mui <cher...@google.com>
    Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Comment-Date: Wed, 17 Sep 2025 17:43:09 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Cherry Mui <cher...@google.com>
    Comment-In-Reply-To: Dmitri Shuralyov <dmit...@golang.org>
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Dmitri Shuralyov (Gerrit)

    unread,
    Sep 26, 2025, 5:02:31 PM9/26/25
    to qiu laidongfeng, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, Cherry Mui, Quim Muntal, Alex Brainman, Brad Fitzpatrick, Gopher Robot, Go LUCI, golang-co...@googlegroups.com

    Dmitri Shuralyov voted and added 2 comments

    Votes added by Dmitri Shuralyov

    Code-Review+2
    Hold+1

    2 comments

    Patchset-level comments
    Cherry Mui . resolved

    In theory x/sys supports all supported versions of Go, which are Go 1.24 and later, when Go 1.25 is released. Perhaps we want to delay this until Go 1.24 is end of support?

    However, if the port is too broken and it never works, perhaps it is fine to do now?

    Dmitri Shuralyov

    Since Go 1.25 is the last release that contains the broken windows/arm port, and the port is removed in Go 1.26, perhaps for now we should add a `//go:build !go1.26` constraint here? (Later on, once Go 1.27.0 is released and the go.mod's go directive is bumped up to 1.26.0, this file will be a no-op and can be deleted.)

    qiu laidongfeng

    Sorry for delay response. Recently, many things have taken up my time. I think it would be simpler to sumbit this CL when go1.27 released.


    Note: that cmd/go only matches known GOOS/GOARCH to build,and set windows/arm,go build output unspported GOOS/GOARCH pair window/arm,even if no hava build tag,the file will ignore.

    Dmitri Shuralyov

    Sounds good, let's leave this for when Go 1.27 is released then.

    File go.mod
    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Holds
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: sys
    Gerrit-Branch: master
    Gerrit-Change-Id: Id1d0a9c9bc1c33dbe28c14e2f7c4adb3ede2b3f9
    Gerrit-Change-Number: 690655
    Gerrit-PatchSet: 1
    Gerrit-Owner: qiu laidongfeng <26454...@qq.com>
    Gerrit-Reviewer: Alex Brainman <alex.b...@gmail.com>
    Gerrit-Reviewer: Brad Fitzpatrick <brad...@golang.org>
    Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Reviewer: Quim Muntal <quimm...@gmail.com>
    Gerrit-Reviewer: qiu laidongfeng <26454...@qq.com>
    Gerrit-CC: Cherry Mui <cher...@google.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-Comment-Date: Fri, 26 Sep 2025 21:02:26 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: qiu laidongfeng <26454...@qq.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dmitri Shuralyov (Gerrit)

    unread,
    Sep 26, 2025, 5:03:04 PM9/26/25
    to qiu laidongfeng, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, Cherry Mui, Quim Muntal, Alex Brainman, Brad Fitzpatrick, Gopher Robot, Go LUCI, golang-co...@googlegroups.com

    Dmitri Shuralyov voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Holds
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: sys
    Gerrit-Branch: master
    Gerrit-Change-Id: Id1d0a9c9bc1c33dbe28c14e2f7c4adb3ede2b3f9
    Gerrit-Change-Number: 690655
    Gerrit-PatchSet: 1
    Gerrit-Owner: qiu laidongfeng <26454...@qq.com>
    Gerrit-Reviewer: Alex Brainman <alex.b...@gmail.com>
    Gerrit-Reviewer: Brad Fitzpatrick <brad...@golang.org>
    Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
    Gerrit-Reviewer: Quim Muntal <quimm...@gmail.com>
    Gerrit-Reviewer: qiu laidongfeng <26454...@qq.com>
    Gerrit-CC: Cherry Mui <cher...@google.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-Comment-Date: Fri, 26 Sep 2025 21:03:01 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages