cargo / libc
libc
What changed in libc 0.2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.
1 deprecations13 new APIs and options1 tooling5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initlibc 0.220 changes
Deprecations 1
Restores NOTE_PCTRLMASK on FreeBSD with a deprecation warning.
New APIs and options 13
Adds Haiku AI_* constants from netdb.h.
Adds AT_SYMLINK_NOFOLLOW on NuttX.
Adds the Apple constant F_GETNOSIGPIPE.
Adds the Apple constant F_SETNOSIGPIPE.
Adds the Apple ifaliasreq type.
Adds the Apple in6_aliasreq type.
Adds isatty on QuRT.
Adds Haiku NI_* constants from netdb.h.
Adds Hurd POSIX_SPAWN_* flags.
Adds FreeBSD PT_* constants.
Adds pthread_condattr_getclock on WASI.
Adds pthread_condattr_setclock on WASI.
Adds sensordev on OpenBSD.
Tooling 1
Support Emscripten v4.0.12 to v6.0.11.
Fixes and other changes 5
Fixes fpregs on FreeBSD-aarch64.
Fixes gpregs on FreeBSD-aarch64.
Mach API is available on non-MacOS Apple targets again, resolving some issues building ecosystem crates.
Makes prop_info an extern type on Android.
Restores c_ulong as the type of statvfs.f_fsid on AIX.