home.social

#cbindgen — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cbindgen, aggregated by home.social.

fetched live
  1. And there is which is designed to somehow support my use case (calling Rust code from C) but it generates the C header instead of relying on existing ones.

    So far I guess the way to go is to use bindgen to generate the bindings and manully adapt the generated code by replacing `extern { fn foo(); }` with `#[no_mangle] pub extern fn foo() { ... }`.

    Am I missing something?

  2. There is also a blog post by Lars Bergstrom: security.googleblog.com/2024/0 There Lars mentions some of the cool #Rust crates that we've contributed to: #cxx, #autocxx, #bindgen, #cbindgen, #diplomat, and #crubit. Some of these projects are from #Google, others are open source projects that we use and contribute to.

  3. There is also a blog post by Lars Bergstrom: security.googleblog.com/2024/0 There Lars mentions some of the cool #Rust crates that we've contributed to: #cxx, #autocxx, #bindgen, #cbindgen, #diplomat, and #crubit. Some of these projects are from #Google, others are open source projects that we use and contribute to.