Closed dwpeng closed 1 year ago
Thanks! I'll switch this in the code base as it will make it more portable. Just curious, what version of rustc do you have? I think the std:ffi::c_char is just in the newest stable version, so that likely caused the problem.
Thanks! I'll switch this in the code base as it will make it more portable. Just curious, what version of rustc do you have? I think the std:ffi::c_char is just in the newest stable version, so that likely caused the problem.
My rustc version is rustc 1.63.0 (4b91a6ea7 2022-08-08)
Ok, thanks. Looks like c_char was added in 1.64. Cool.
Let me know if you have any other trouble with the library or any missing features you want! I'll push out a new version to crates.io as well.
while compling minimap-sys, I got a error.
Error
FIX IT
I chenged
std::ffi::*
tolibc::*
, and I complied successfully.