question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problems with cbindgen 0.4

See original GitHub issue

I 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:open
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
nim65scommented, Jun 12, 2019

Same issue here with 0.4. Using 0.8 allowed me to build the example.

0reactions
onelsoncommented, Apr 17, 2018

I was able to build with 0.5.2 on 1.25 without issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found