Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with cbindgen 0.4 #13

Open
frip opened this issue Mar 31, 2018 · 5 comments
Open

Problems with cbindgen 0.4 #13

frip opened this issue Mar 31, 2018 · 5 comments

Comments

@frip
Copy link

frip commented Mar 31, 2018

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.

@mitsuhiko
Copy link
Member

Yeah. I noticed. But i think cbindgen 0.5 currently needs nightly unless that was already fixed.

@frip
Copy link
Author

frip commented Mar 31, 2018

Seems to work now (with rustc 1.25.0)

@saethlin
Copy link

saethlin commented Apr 1, 2018

With cbindgen = "0.5.2" I can build the example on stable. At first, cargo selected 0.5.0 for me, which appears to require nightly.
Can anyone else confirm?

@onelson
Copy link

onelson commented Apr 17, 2018

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

@nim65s
Copy link

nim65s commented Jun 12, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants