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.
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.