rust-lang / rustc_codegen_gcc

libgccjit AOT codegen for rustc
Apache License 2.0
925 stars 60 forks source link

Bindgen-like support #518

Open antoyo opened 6 months ago

antoyo commented 6 months ago

GCC already has -fdump-go-spec=/-fdump-ada-spec options to write Go/Ada bindings for C/C++.

-fdump-ada-spec is implemented in c-family, so in the FEs; -fdump-go-spec is in the middle-end code, hooking into debug_hooks.

gogo2464 commented 5 months ago

assign me to this issue for the 0day hack

GuillaumeGomez commented 5 months ago

Done.

gogo2464 commented 5 months ago

unsign me from this issue. it is actually not a good first issue.