1 个仓库
Calculates structure padding and alignment based on the target platform's compiler for binary compatibility.
Distinct from Binary Memory Layouts: Focuses on calculating alignment/padding via compiler queries rather than general binary format techniques.
Explore 1 awesome GitHub repository matching operating systems & systems programming · Target-Aware Padding & Alignment. 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
Calculates structure padding and alignment by querying the target platform's compiler to ensure binary compatibility.