Problems with cbindgen 0.4
See original GitHub issueI could not build the example with dependency cbindgen = "0.4"
: got
error[E0425]: cannot find function `parse_crate` in module `syn`
etc.
Changing to cbindgen = "0.5"
fixed it.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Generating a Header File - The (unofficial) Rust FFI Guide
You can use cbindgen to generate header files in a couple ways, the first is to use cargo ... + cbindgen = "0.1.29"...
Read more >1608670 – cbindgen is not installable due to broken deps on ...
It's normally fine for derive plugins to use libproc_macro, because they're only built and used transiently at compile time. The problem is that...
Read more >cbindgen - crates.io: Rust Package Registry
cbindgen Build Status Latest Version Api Rustdoc Rust ... Please file an issue if you run into such a situation. Although since we...
Read more >Cbindgen-0.24.3 - Linux From Scratch!
Cbindgen can be used to generate C bindings for Rust code. ... Estimated build time: 0.5 SBU (add 0.4 SBU for tests), both...
Read more >subject:"devel\/rust\-cbindgen fails to build" - The Mail Archive
After that, I can build rust-cbindgen without problems. I still don't know why there was a problem ... SHA256 Checksum OK for rust/crates/itoa-0.4.6.tar.gz....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same issue here with 0.4. Using 0.8 allowed me to build the example.
I was able to build with 0.5.2 on 1.25 without issue.