Libgccjit AOT Codegen for Rustc
github.com
github.com
Noob question: Can libgccjit be used to do the same at runtime?
Yes, the GPL triggers if you distribute programs that merely link against a thusly licensed library - at least that's the intention.
Full disclosure, there are people who disagree with the FSF's interpretation, arguing that merely linking to a library doesn't necessarily create a derivative work. I don't know if that has ever been tested in a court of law...