rust-lang / rustc_codegen_gcc

libgccjit AOT codegen for rustc
Apache License 2.0
893 stars 61 forks source link

Bindgen-like support #518

Open antoyo opened 1 month ago

antoyo commented 1 month 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 1 month ago

assign me to this issue for the 0day hack

GuillaumeGomez commented 1 month ago

Done.

gogo2464 commented 1 month ago

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