Skip to content

Releases: rust-lang/libc

0.2.164

16 Nov 10:29
Compare
Choose a tag to compare

MSRV

This release increases the MSRV of libc to 1.63.

Other

  • CI: remove tests with rust < 1.63 #4051
  • MSRV: document the MSRV of the stable channel to be 1.63 #4040
  • MacOS: move ifconf to s_no_extra_traits #4051

0.2.163

16 Nov 08:48
Compare
Choose a tag to compare

Added

  • Aix: add more dlopen flags #4044
  • Android: add group calls #3499
  • FreeBSD: add TCP_FUNCTION_BLK and TCP_FUNCTION_ALIAS #4047
  • Linux: add confstr #3612
  • Solarish: add aio #4033
  • Solarish: add arc4random* #3944

Changed

  • Emscripten: upgrade emsdk to 3.1.68 #3962
  • Hurd: use more standard types #3733
  • Hurd: use the standard ssize_t = isize #4029
  • Solaris: fix confstr and ucontext_t #4035

Other

  • CI: add Solaris #4035
  • CI: add i686-unknown-freebsd #3997
  • CI: ensure that calls to sort do not depend on locale #4026
  • Specify rust-version in Cargo.toml #4041

0.2.162

07 Nov 12:41
Compare
Choose a tag to compare

Added

  • Android: fix the alignment of uc_mcontext on arm64 #3894
  • Apple: add host_cpu_load_info #3916
  • ESP-IDF: add a time flag #3993
  • FreeBSD: add the CLOSE_RANGE_CLOEXEC flag#3996
  • FreeBSD: fix test errors regarding __gregset_t #3995
  • FreeBSD: fix tests on x86 FreeBSD 15 #3948
  • FreeBSD: make ucontext_t and mcontext_t available on all architectures #3848
  • Haiku: add getentropy #3991
  • Illumos: add syncfs #3990
  • Illumos: add some recently-added constants #3999
  • Linux: add ioctl flags #3960
  • Linux: add epoll busy polling parameters #3922
  • NuttX: add pthread_[get/set]name_np #4003
  • RTEMS: add arc4random_buf #3989
  • Trusty OS: add initial support #3942
  • WASIp2: expand socket support #3981

Fixed

  • Emscripten: don't pass -lc #4002
  • Hurd: change st_fsid field to st_dev #3785
  • Hurd: fix the definition of utsname #3992
  • Illumos/Solaris: fix FNM_CASEFOLD definition #4004
  • Solaris: fix all tests #3864

Other

  • CI: Add loongarch64 #4000
  • CI: Check that semver files are sorted #4018
  • CI: Re-enable the FreeBSD 15 job #3988
  • Clean up imports and extern crate usage #3897
  • Convert mode_t constants to octal #3634
  • Remove the wasm32-wasi target that has been deleted upstream #4013

0.2.161

17 Oct 19:11
Compare
Choose a tag to compare

Fixed

  • OpenBSD: fix FNM_PATHNAME and FNM_NOESCAPE values #3983

0.2.160

17 Oct 04:50
Compare
Choose a tag to compare

Added

  • Android: add PR_GET_NAME and PR_SET_NAME #3941
  • Apple: add F_TRANSFEREXTENTS #3925
  • Apple: add mach_error_string #3913
  • Apple: add additional pthread APIs #3846
  • Apple: add the LOCAL_PEERTOKEN socket option #3929
  • BSD: add RTF_*, RTA_*, RTAX_*, and RTM_* definitions #3714
  • Emscripten: add AT_EACCESS #3911
  • Emscripten: add getgrgid, getgrnam, getgrnam_r and getgrgid_r #3912
  • Emscripten: add getpwnam_r and getpwuid_r #3906
  • FreeBSD: add POLLRDHUP #3936
  • Haiku: add arc4random #3945
  • Illumos: add ptsname_r #3867
  • Linux: add fanotify interfaces #3695
  • Linux: add tcp_info #3480
  • Linux: add additional AF_PACKET options #3540
  • Linux: make Elf constants always available #3938
  • Musl x86: add iopl and ioperm #3720
  • Musl: add posix_spawn chdir functions #3949
  • Musl: add utmpx.h constants #3908
  • NetBSD: add sysctlnametomib, CLOCK_THREAD_CPUTIME_ID and CLOCK_PROCESS_CPUTIME_ID #3927
  • Nuttx: initial support #3909
  • RTEMS: add getentropy #3973
  • RTEMS: initial support #3866
  • Solarish: add POLLRDHUP, POSIX_FADV_*, O_RSYNC, and posix_fallocate #3936
  • Unix: add fnmatch.h #3937
  • VxWorks: add riscv64 support #3935
  • VxWorks: update constants related to the scheduler #3963

Changed

  • Redox: change ino_t to be c_ulonglong #3919

Fixed

  • ESP-IDF: fix mismatched constants and structs #3920
  • FreeBSD: fix struct stat on FreeBSD 12+ #3946

Other

  • CI: Fix CI for FreeBSD 15 #3950
  • Docs: link to windows-sys #3915

0.2.159

24 Sep 15:06
7373a1a
Compare
Choose a tag to compare

Added

  • Android: add more AT_* constants in #3779
  • Apple: add missing NOTE_* constants in #3883
  • Hermit: add missing error numbers in #3858
  • Hurd: add __timeval for 64-bit support in #3786
  • Linux: add epoll_pwait2 in #3868
  • Linux: add mq_notify in #3849
  • Linux: add missing NFT_CT_* constants in #3844
  • Linux: add the fchmodat2 syscall in #3588
  • Linux: add the mseal syscall in #3798
  • OpenBSD: add sendmmsg and recvmmsg in #3831
  • Unix: add IN6ADDR_ANY_INIT and IN6ADDR_LOOPBACK_INIT in #3693
  • VxWorks: add S_ISVTX in #3768
  • VxWorks: add vxCpuLib and taskLib functions #3861
  • WASIp2: add definitions for std::net support in #3892

Fixed

  • Correctly handle version checks when clippy-driver is used #3893

Changed

  • EspIdf: change signal constants to c_int in #3895
  • HorizonOS: update network definitions in #3863
  • Linux: combine ioctl APIs in #3722
  • WASI: enable CI testing in #3869
  • WASIp2: enable CI testing in #3870

0.2.158

19 Aug 06:59
c809c58
Compare
Choose a tag to compare

Fixed

0.2.157

18 Aug 01:47
6637dbe
Compare
Choose a tag to compare

Added

  • Apple: add _NSGetArgv, _NSGetArgc and _NSGetProgname in #3702
  • Build: add RUSTC_WRAPPER support in #3845
  • FreeBSD: add execvpe support from 14.1 release in #3745
  • Fuchsia: add SO_BINDTOIFINDEX
  • Linux: add klogctl in #3777
  • MacOS: add fcntl OFD commands in #3563
  • NetBSD: add _lwp_park in #3721
  • Solaris: add missing networking support in #3717
  • Unix: add pthread_equal in #3773
  • WASI: add select, FD_SET, FD_ZERO, FD_ISSET in #3681

Fixed

  • TEEOS: fix octal notation for O_* constants in #3841

Changed

  • FreeBSD: always use freebsd12 when rustc_dep_of_std is set in #3723

0.2.156

15 Aug 19:59
07559cf
Compare
Choose a tag to compare

Added

  • Apple: add F_ALLOCATEPERSIST in #3712
  • Apple: add os_sync_wait_on_address and related definitions in #3769
  • BSD: generalise IPV6_DONTFRAG to all BSD targets in #3716
  • FreeBSD/DragonFly: add IP_RECVTTL/IPV6_RECVHOPLIMIT in #3751
  • Hurd: add XATTR_CREATE, XATTR_REPLACE in #3739
  • Linux GNU: confstr API and _CS_* in #3771
  • Linux musl: add preadv2 and pwritev2 (1.2.5 min.) in #3762
  • VxWorks: add the constant SOMAXCONN in #3761
  • VxWorks: add a few errnoLib related constants in #3780

Fixed

  • Solaris/illumos: Change ifa_flags type to u64 in #3729
  • QNX 7.0: Disable libregex in #3775

Changed

  • QNX NTO: update platform support in #3815
  • addr_of!(EXTERN_STATIC) is now considered safe in #3776

Removed

  • Apple: remove rmx_state in #3776

Other

  • Update or remove CI tests that have been failing

0.2.155

17 May 22:36
7df63bd
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.2.154...0.2.155