As libc can often be found at the core of many applications it may, and because some breaking changes have been made, it may be the case that some code with loose restrictions (e.g. a
* dependency) may have compile errors soon. To help mitigate breakage, I’d recommend updating to 0.2.* if you see any problems, because it should be quite easy! To recap, the breaking changes made to libc were:
- The module structure of the library has gone away, all items are now only available at the top level via
Some types like
size_tare now defined in terms of
isizeon major platforms, helping to reduce the number of
- Bindings to Windows functions not found in the CRT (e.g. those found in kernel32) were all removed. Many Windows types (like
DWORD) were also removed. These are currently best found in the winapi crate for type definitions and the various
*-syscrates for function bindings (e.g.
Most transitions should be quite smooth (I only had to change one of my own crates so far), but if you have any problems please feel free to open an issue in the libc repo!