Skip to content

Consider moving to bindgen for tensorflow-sys #57

Closed
@daschl

Description

@daschl

Hi,

I've used bindgen with great success for other c-bindings I maintain (couchbase-sys) and I was wondering if it could make sense to migrate tensorflow-sys to it as well (https://crates.io/crates/bindgen). It would allow us with very little effort to pull in the c headers and just generate the low level binding, and stay up to date.

Here is basically all it takes to generate the API from a header file: https://github.com/couchbaselabs/couchbase-rs/blob/master/couchbase-sys/build.rs#L31

If that sounds like a good path to investigate I could take it on and see if I can make it work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions