A project for generating C bindings from Rust code

2.9K stars 386 forks 2.9K watchers Rust Mozilla Public License 2.0
5 Open Issues Need Help Last updated: Aug 25, 2026

Open Issues Need Help

View All on GitHub
enhancement help wanted

A project for generating C bindings from Rust code

Rust

A project for generating C bindings from Rust code

Rust
enhancement help wanted

A project for generating C bindings from Rust code

Rust

A project for generating C bindings from Rust code

Rust

AI Summary: Implement support for the C23 `constexpr` keyword in the cbindgen tool, allowing users to generate C headers with `constexpr` declarations when targeting C23 or later. This involves modifying the code generation logic to handle `constexpr` appropriately and potentially adding a new configuration option to enable/disable this feature for C mode, mirroring the existing `allow_constexpr` option for C++.

Complexity: 4/5
enhancement help wanted

A project for generating C bindings from Rust code

Rust