Closed Talon1024 closed 10 months ago
Could you please give the version of rustc you are using? Thanks!
Rustc 1.72.1, stable toolchain
OK. Please try running cargo update
and try again. I guess that you have a very old proc-macro2 dependency and the dependency list was not updated with a correct minimum version for the API that binrw uses. Please let me know how it goes. I will be committing changes to specify new minimums for future binrw versions. Thanks!
I can't use binrw 0.12.0. Apparently, there's a compile error with
binrw_derive
, the procedural macro crate for binrw: