Skip to content

go/build: MatchFile excludes x_js.go when GOOS != js #26424

Closed
@neild

Description

@neild

#102835 adds "js" to build.goosList, causing build.Context.MatchFile to exclude files named *_js.go when GOOS is not "js".

We have a number of existing files that match that pattern (mostly generated code containing embedded JavaScript strings), and there are probably more in the world at large. This seems like it might be too common a suffix to change at this time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.release-blocker

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions