From 9a28524796a519b225fedd6aaaf4b1bf6c06c002 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 23 Feb 2024 11:58:07 +0100 Subject: [PATCH] windows: drop go version tags for unsupported versions go.mod specifies go 1.18. Drop go1.n version tags for older, unsupported versions. Change-Id: I7a23a9f4ba558999ac417b7b4647fa1061d69c06 Reviewed-on: https://go-review.googlesource.com/c/sys/+/566038 Auto-Submit: Tobias Klauser LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Lance Taylor Reviewed-by: Quim Muntal Reviewed-by: Cherry Mui --- windows/aliases.go | 2 +- windows/empty.s | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 windows/empty.s diff --git a/windows/aliases.go b/windows/aliases.go index ce2d713d6..16f90560a 100644 --- a/windows/aliases.go +++ b/windows/aliases.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build windows && go1.9 +//go:build windows package windows diff --git a/windows/empty.s b/windows/empty.s deleted file mode 100644 index ba64caca5..000000000 --- a/windows/empty.s +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2019 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. - -//go:build !go1.12 - -// This file is here to allow bodyless functions with go:linkname for Go 1.11 -// and earlier (see https://golang.org/issue/23311).