Skip to content

cmd/compile: eliminate builtin.go bootstrapping problem #17508

@mdempsky

Description

@mdempsky

Regenerating builtin.go is tricky currently because it needs a working compiler that can generate export data in the same format as the new compiler can handle. We should replace it with something simpler.

I propose instead of generating export data for builtin/runtime.go, we just generate code/tables to directly construct the stub information. This can be done using just go/ast.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions