Skip to content

cmd/go: assume .c files are for cgo #14123

@rsc

Description

@rsc

CL 19003 is kind of stupid.
It's left over from when a .c file could be intended for cgo or for the Go (Plan 9) C compiler.
The Plan 9 C compiler was removed in Go 1.5 and stayed removed in Go 1.6
(not that there was any doubt).
For Go 1.7 we could consider assuming that .c files are for cgo and remove the logic in the go command that considers they might be for the Plan 9 C compiler. Two releases is likely long enough to get people with Plan 9 C files to convert, if there were any people to begin with.

/cc @bradfitz @robpike

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions