Skip to content

crypto/internal: module asm appears multiple times in workspace #57769

@prattmic

Description

@prattmic

Running go work init && go work use -r . in the Go repo results in an unusable workspace:

$ go build std
go: module asm appears multiple times in workspace

src/crypto/internal/bigmod/_asm and src/crypto/internal/edwards25519/field/_asm are the two modules named asm. These should probably have unique names to avoid breaking builds.

cc @FiloSottile


Context: I don't actually particularly want to use a workspace of all modules in the go repo. I am generating cross-references for https://cs.opensource.google/go, and I want nested modules (like golang.org/x/tools/gopls) included. go work use -r . is a simple way to achieve that, and it seems silly to need a special case for the go repo when we could make this just work.

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions