Re:LLVM 5.0.0 Release
by steveklabnik on Friday September 08, 2017 @11:08AM
(#15200760)
> I looked at Zig and it indeed uses libclang to parse C. I don't know about Rust's macro system but it would be somewhat surprising if it can invoke external tools or run C++ code at compile time.
Bindgen is often invoked in a "build script", which Cargo runs before building your project. So not exactly, but basically.
Bindgen is often invoked in a "build script", which Cargo runs before building your project. So not exactly, but basically.