milksnake icon indicating copy to clipboard operation
milksnake copied to clipboard

Problems with cbindgen 0.4

Open frip opened this issue 7 years ago • 5 comments

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.

frip avatar Mar 31 '18 15:03 frip

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

mitsuhiko avatar Mar 31 '18 15:03 mitsuhiko

Seems to work now (with rustc 1.25.0)

frip avatar Mar 31 '18 15:03 frip

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?

saethlin avatar Apr 01 '18 06:04 saethlin

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

onelson avatar Apr 17 '18 18:04 onelson

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

nim65s avatar Jun 12 '19 15:06 nim65s