Skip to content

x/tools/gopls: stderr printout in init() from asmdecl analyser #52646

@leitzler

Description

@leitzler

What version of Go are you using (go version)?

$ go version
go version devel go1.19-5ccd8e5133 Mon Mar 14 21:23:36 2022 +0000 linux/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
N/A

What did you do?

Run gopls

What did you expect to see?

No printouts to stderr.

What did you see instead?

A printout about unknown architecture from the init() func in asmdecl analyser introduced via https://go-review.googlesource.com/c/tools/+/356089.

This causes problems for govim integration tests as they include explicit checks that there are no stderr printouts.

$ gopls version
2022/05/02 07:46:20 unknown architecture loong64
golang.org/x/tools/gopls master
    golang.org/x/tools/[email protected] h1:6KDUj6aD2FUVfGHl0PWu/cOrY/09l/ReO5wT7CQcIW8=

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions