Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: rust-lang/libc

0.2.182

13 Feb 08:46
@github-actions github-actions

Choose a tag to compare

Added

  • Android, Linux: Add tgkill (#4970)
  • Redox: Add RENAME_NOREPLACE (#4968)
  • Redox: Add renameat2 (#4968)
Assets 2
Loading
Andy-Python-Programmer reacted with hooray emoji luciasolerpardo47-debug reacted with eyes emoji
2 people reacted

1.0.0-alpha.3

09 Feb 21:32
@github-actions github-actions

Choose a tag to compare

1.0.0-alpha.3 Pre-release
Pre-release

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
Loading

0.2.181

09 Feb 21:29
@github-actions github-actions

Choose a tag to compare

Added

  • Apple: Add MADV_ZERO (#4924)
  • Redox: Add makedev, major, and minor (#4928)
  • GLibc: Add PTRACE_SET_SYSCALL_INFO (#4933)
  • OpenBSD: Add more kqueue related constants for (#4945)
  • Linux: add CAN error types (#4944)
  • OpenBSD: Add siginfo_t::si_status (#4946)
  • QNX NTO: Add max_align_t (#4927)
  • Illumos: Add _CS_PATH (#4956)
  • OpenBSD: add ppoll (#4957)

Fixed

  • Breaking: Redox: Fix the type of dev_t (#4928)
  • AIX: Change 'tv_nsec' of 'struct timespec' to type 'c_long' (#4931)
  • AIX: Use 'struct st_timespec' in 'struct stat{,64}' (#4931)
  • Glibc: Link old version of tc{g,s}etattr (#4938)
  • Glibc: Link the correct version of cf{g,s}et{i,o}speed on mips{32,64}r6 (#4938)
  • OpenBSD: Fix constness of tm.tm_zone (#4948)
  • OpenBSD: Fix the definition of ptrace_thread_state (#4947)
  • QuRT: Fix type visibility and defs (#4932)
  • Redox: Fix values for PTHREAD_MUTEX_{NORMAL, RECURSIVE} (#4943)
  • Various: Mark additional fields as private padding (#4922)

Changed

  • Fuchsia: Update SO_* constants (#4937)
  • Revert "musl: convert inline timespecs to timespec" (resolves build issues on targets only supported by Musl 1.2.3+ ) (#4958)
Loading
Marcondiro and huajingyun01 reacted with hooray emoji
2 people reacted

ctest-0.5.0

29 Jan 14:22
@github-actions github-actions

Choose a tag to compare

  • Clean up some ctest internals
  • Increase the recursion limit to fix building on docs.rs
Loading

0.2.180

08 Jan 12:23
@github-actions github-actions

Choose a tag to compare

Added

  • QNX: Add missing BPF and ifreq structures (#4769)

Fixed

  • Linux, L4Re: address soundness issues of CMSG_NXTHDR (#4903)
  • Linux-like: Handle zero-sized payload differences in CMSG_NXTHDR (#4903)
  • Musl: Fix incorrect definitions of struct stat on some 32-bit architectures (#4914)
  • NetBSD: RISC-V 64: Correct mcontext type definitions (#4886)
  • uClibc: Re-enable __SIZEOF_PTHREAD_COND_T on non-L4Re uclibc (#4915)
  • uClibc: Restructure Linux netlink module to resolve build errors (#4915)
Loading
rafaeling reacted with heart emoji
1 person reacted

1.0.0-alpha.2

06 Jan 10:53
@github-actions github-actions

Choose a tag to compare

1.0.0-alpha.2 Pre-release
Pre-release
chore: Release package libc version 1.0.0-alpha.2
Loading

0.2.179

03 Jan 10:12
@github-actions github-actions

Choose a tag to compare

With this release, we now have unstable support for 64-bit time_t on 32-bit
platforms with both Musl and Glibc. Testing is appreciated!

For now, these can be enabled by setting environment variables during build:

RUST_LIBC_UNSTABLE_MUSL_V1_2_3=1
RUST_LIBC_UNSTABLE_GNU_TIME_BITS=64

Note that the exact configuration will change in the future. Setting the
MUSL_V1_2_3 variable also enables some newer API unrelated to time_t.

Added

  • L4Re: Add uclibc aarch64 support (#4479)
  • Linux, Android: Add a generic definition for XCASE (#4847)
  • Linux-like: Add NAME_MAX (#4888)
  • Linux: Add AT_EXECVE_CHECK (#4422)
  • Linux: Add the SUN_LEN macro (#4269)
  • Linux: add getitimer and setitimer (#4890)
  • Linux: add pthread_tryjoin_n and pthread_timedjoin_np (#4887)
  • Musl: Add unstable support for 64-bit time_t on 32-bit platforms (#4463)
  • NetBSD, OpenBSD: Add interface LINK_STATE_* definitions from sys/net/if.h (#4751)
  • QuRT: Add support for Qualcomm QuRT (#4845)
  • Types: Add Padding::uninit() (#4862)

Fixed

  • Glibc: Link old version of cf{g,s}et{i,o}speed (#4882)
  • L4Re: Fixes for pthread (#4479)
  • L4re: Fix a wide variety of incorrect definitions (#4479)
  • Musl: Fix the value of CPU_SETSIZE on musl 1.2+ (#4865)
  • Musl: RISC-V: fix public padding fields in stat/stat64 (#4463)
  • Musl: s390x: Fix definition of SIGSTKSZ/MINSIGSTKSZ (#4884)
  • NetBSD: Arm: Fix PT_{GET,SET}FPREGS, _REG_TIPDR, and _REG_{LR,SP} (#4899)
  • NetBSD: Fix if_msghdr alignment (#4902)
  • NetBSD: Fix siginfo_t layout on 32-bit platforms (#4904)
  • NetBSD: change definition of pthread_spin_t to allow arch redefinition. (#4899)
  • Newlib: Fix ambiguous glob exports and other warnings for Vita and 3DS (#4875)
  • QNX: Fix build error (#4879)

Changed

  • CI: Update CI images to FreeBSD 15.0-release (#4857)
  • L4Re: Make pthread struct fields private (#4876)
  • Linux, Fuchsia: Mark mq_attr padding area as such (#4858)
  • Types: Wrap a number of private fields in the Padding type (#4862)

Removed

  • Build: Remove RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64 (#4865)
  • WASI: Remove nonexistent clocks (#4880)
Loading
nabbisen reacted with heart emoji
1 person reacted

ctest-0.5.0-beta.3

28 Dec 09:06
@github-actions github-actions

Choose a tag to compare

  • Clean up some ctest internals
  • Increase the recursion limit to fix building on docs.rs
Loading
nabbisen and thesummer reacted with heart emoji
2 people reacted

0.2.178

02 Dec 13:31
@github-actions github-actions

Choose a tag to compare

Added

  • BSD: Add issetugid (#4744)
  • Cygwin: Add missing utmp/x.h, grp.h, and stdio.h interfaces (#4827)
  • Linux s390x musl: Add __psw_t/fprefset_t/*context_t (#4726)
  • Linux, Android: Add definition for IUCLC (#4846)
  • Linux, FreeBSD: Add AT_HWCAP{3,4} (#4734)
  • Linux: Add definitions from linux/can/bcm.h (#4683)
  • Linux: Add syscalls 451-469 for m68k (#4850)
  • Linux: PowerPC: Add 'ucontext.h' definitions (#4696)
  • NetBSD: Define eventfd (#4830)
  • Newlib: Add missing constants from unistd.h (#4811)
  • QNX NTO: Add cfmakeraw (#4704)
  • QNX NTO: Add cfsetspeed (#4704)
  • Redox: Add getresgid and getresuid (#4752)
  • Redox: Add setresgid and setresuid (#4752)
  • VxWorks: Add definitions from select.h, stat.h, poll.h, ttycom.h, utsname.h, resource.h, mman.h, udp.h, in.h, in6.h, if.h, fnmatch.h, and sioLibCommon.h (#4781)
  • VxWorks: Add missing defines/functions needed by rust stdlib (#4779)
  • WASI: Add more definitions for libstd (#4747)

Deprecated:

  • Apple: Deprecate TIOCREMOTE (#4764)

Fixed:

Note that there were a large number of fixes on NetBSD for this libc release, some of which include minor breakage.

  • AIX: Change errno EWOULDBLOCK to make it an alias of EAGAIN (#4790)
  • AIX: Resolve function comparison and unnecessary_transmutes warnings (#4780)
  • Apple: Correct the value of SF_SETTABLE (#4764)
  • DragonflyBSD: Fix the type of mcontext_t.mc_fpregs (#)
  • EspIDF: Fix the duplicate definition of gethostname (#4773)
  • L4Re: Update available pthread API (#4836)
  • Linux: Correct the value of NFT_MSG_MAX (#4761)
  • Linux: Remove incorrect repr(align(8)) for canxl_frame (#4760)
  • Make eventfd argument names match OS docs/headers (#4830)
  • NetBSD: Account for upstream changes to ptrace with LWP (#4782)
  • NetBSD: Correct ipc_perm, split from OpenBSD as ipc.rs (#4782)
  • NetBSD: Correct a number of symbol link names (#4782)
  • NetBSD: Correct the type of kinfo_vmentry.kve_path (#)
  • NetBSD: Fix uucred.cr_ngroups from int to short (#4782)
  • NetBSD: Fix the type of kevent.udata (#4782)
  • NetBSD: Fix the type of mcontext_t.__fpregs (#4782)
  • NetBSD: Fix the value of PT_SUSPEND (#4782)
  • NetBSD: Fix the values of FNM_* constants (#4782)
  • NetBSD: Increase the size of sockaddr_dl.sdl_data from 12 to 24 (#4782)
  • NetBSD: Introduce if_.rs, fix the definition of ifreq (#4782)
  • NetBSD: Introduce time.rs, fix the values of CLOCK_*_CPUTIME_ID (#4782)
  • NetBSD: Introduce timex.rs (#4782)
  • NetBSD: Introduce types.rs, correct the definition of lwpid_t (#4782)
  • NetBSD: Introduce utmp_.rs, correct the definition of lastlog (#4782)
  • NetBSD: Introduce utmpx_.rs, correct utmpx definitions (#4782)
  • NetBSD: Make _cpuset an extern type (#4782)
  • NetBSD: RISC-V 64: Fix the mcontext types (#4782)
  • Nuttx: Resolve warnings (#4773)
  • OHOS: Don't emit duplicate lfs64 definitions (#4804)
  • Redox: Fix the type of pid_t (#4825)
  • WASI: Gate __wasilibc_register_preopened_fd (#4837)
  • Wali: Fix unknown config (#4773)

Changed

  • AIX: Declare field 'tv_nsec' of structure 'timespec' as 'i32' in both 32-bit and 64-bit modes (#4750)
  • DragonFly: Avoid usage of thread_local (#3653)
  • Linux: Update the definition for ucontext_t and unskip its tests (#4760)
  • MinGW: Set L_tmpnam and TMP_MAX to the UCRT value (#4566)
  • WASI: More closely align pthread type reprs (#4747)
  • Simplify rustc-check-cfg emission in build.rs (#4724)
  • Transition a number of definitions to the new source structure (internal change)

Removed

  • MIPS Musl: Remove rogue definition of SIGSTKFLT (#4749)
  • NetBSD: Make statvfs.f_spare non-public (#4782)
  • NetBSD: Remove BPF constants (#4782)
  • NetBSD: Remove *_MAXID constants and AT_SUN_LDPGSIZE (#4782)
  • NetBSD: Remove IFF_NOTRAILERS (#4782)
  • NetBSD: Remove vm_size_t (#4782)
  • NetBSD: Replace REG_ENOSYS with REG_ILLSEQ (#4782)
Loading

ctest-0.5.0-beta.2

02 Dec 03:18
@github-actions github-actions

Choose a tag to compare

ctest-v0.5.0-beta.2
chore: Release package ctest version 0.5.0-beta.2
Loading
Previous 1 3 4 5 11 12
Previous

AltStyle によって変換されたページ (->オリジナル) /