1 Commits

Author SHA1 Message Date
landry
a169eb7294 Import cbindgen 0.6.1.
This project can be used to generate C bindings for Rust code:

* Builds bindings for a crate, its mods, its dependent crates, and their mods
* Only the necessary types for exposed functions are given bindings
* Can specify annotations for controlling some aspects of binding
* Support for generic structs and unions
* Support for exporting constants and statics
* Customizable formatting, can be used in C or C++ projects
* Support for generating #ifdef's for #[cfg] attributes
* Support for #[repr(sized)] tagged enum's

Will be a BDEP for firefox 63, per
https://groups.google.com/forum/#!topic/mozilla.dev.platform/t4Bc-I0lxBY

ok sthen@ semarie@
2018-08-21 19:16:52 +00:00