platform: removes unnecessary code (#1492)

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
This commit is contained in:
Takeshi Yoneda
2023-05-29 09:09:24 +10:00
committed by GitHub
parent e987e69a82
commit 9aa8f4e0ae
2 changed files with 1 additions and 5 deletions

View File

@@ -15,8 +15,6 @@ var IsGo120 = strings.Contains(runtime.Version(), "go1.20")
// archRequirementsVerified is set by platform-specific init to true if the platform is supported
var archRequirementsVerified bool
var _zero uintptr
// CompilerSupported is exported for tests and includes constraints here and also the assembler.
func CompilerSupported() bool {
switch runtime.GOOS {