<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>
<blockquote type="cite">
<pre>Most of the issues appear to be some pointer definition mismatch for
dirent...</pre>
</blockquote>
Rust does not have a core type that is directly equivalent to the<br>
c type char, instead it has a type alias core:ffi::c_char (also<br>
rexported as std::ffi::c_char) which, depending on the target <br>
platform, is an alias for either i8 or u8.</p>
<p>Since it's an alias, and not a fully distinct type (unlike<br>
isize/usize which *are* distinct types) you can mix<br>
i8 with c_char on platforms where the c char type<br>
is signed, and mix u8 with c_char on platforms where<br>
the c type char is unsigned, but doing so will result in<br>
unportable code.<br>
</p>
</body>
</html>