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, क्रॉस-लैंग्वेज इंटरऑपरेबिलिटी को ऑटोमेट करने के लिए डिज़ाइन किया गया एक बिल्ड-टाइम फॉरेन फंक्शन इंटरफ़ेस (FFI) बाइंडिंग जनरेटर और C हेडर पार्सर है। यह कंपाइलेशन प्रक्रिया के दौरान प्लेटफ़ॉर्म-विशिष्ट घोषणाएं तैयार करके Rust को C, C++ और Objective-C लाइब्रेरीज़ के साथ जोड़ने के लिए एक टूल के रूप में काम करता है। यह प्रोजेक्ट C-फैमिली भाषा के जटिल निर्माणों, जैसे C++ इनहेरिटेंस और मेथड्स, साथ ही Objective-C क्लासेस और प्रोटोकॉल को संभालने की अपनी क्षमता के कारण अलग है। यह टारगेट-अवेयर मेमोरी लेआउट की गणना करके और यह सत्यापित करके कि जनरेट किए गए स्ट्रक्चर साइज़ और एलाइनमेंट मूल सोर्स डेफिनिशन से मेल खाते हैं, विभिन्न आर्किटेक्चर में बाइनरी कम्पैटिबिलिटी सुनिश्चित करता है। यह टूल बाइंडिंग्स को फ़िल्टर करने, जटिल टाइप्स को प्रतिस्थापित करने और फ़ील्ड विजिबिलिटी को नियंत्रित करने के लिए एक कॉन्फ़िगरेशन सिस्टम प्रदान करता है।
Passes specific architecture arguments to the compiler to ensure generated bindings match a non-native target system.