1 个仓库
Generating bindings that adapt to specific target architecture and compiler flags for non-native systems.
Distinct from Binding Generators: Distinct from Binding Generators: specifically addresses cross-compilation and target architecture arguments rather than general metadata mapping.
Explore 1 awesome GitHub repository matching software engineering & architecture · Target-Aware Binding Generation. Refine with filters or upvote what's useful.
Rust-bindgen is a build-time foreign function interface binding generator and C header parser designed to automate cross-language interoperability. It functions as a tool to bridge Rust with C, C++, and Objective-C libraries by producing platform-specific declarations during the compilation process. The project distinguishes itself through its ability to handle complex C-family language constructs, including C++ inheritance and methods, as well as Objective-C classes and protocols. It ensures binary compatibility across different architectures by calculating target-aware memory layouts and va
Passes specific architecture arguments to the compiler to ensure generated bindings match a non-native target system.