aboutsummaryrefslogtreecommitdiffhomepage
path: root/.circleci
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2019-05-10 19:48:33 +0200
committerRon Evans <[email protected]>2019-05-12 10:49:15 +0200
commit11567c62d45418685161cd484b55c225f1d1f65d (patch)
tree60762f41abf7c25502dae481d6fc7ba5a6d7d920 /.circleci
parent4619207f99839c388e8310bb5921749bcdcb7d3e (diff)
downloadtinygo-11567c62d45418685161cd484b55c225f1d1f65d.tar.gz
tinygo-11567c62d45418685161cd484b55c225f1d1f65d.zip
cgo: refactor; support multiple cgo files in a single package
This is a big commit that does a few things: * It moves CGo processing into a separate package. It never really belonged in the loader package, and certainly not now that the loader package may be refactored into a driver package. * It adds support for multiple CGo files (files that import package "C") in a single package. Previously, this led to multiple definition errors in the Go typecheck phase because certain C symbols were defined multiple times in all the files. Now it generates a new fake AST that defines these, to avoid multiple definition errors. * It improves debug info in a few edge cases that are probably not relevant outside of bugs in cgo itself.
Diffstat (limited to '.circleci')
0 files changed, 0 insertions, 0 deletions