chore(deps): update rust crate libc to v0.2.186 #3
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
renovate-bot
renovate-security
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mCaptcha/cache!3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/libc-0.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.2.149->0.2.186Release Notes
rust-lang/libc (libc)
v0.2.186Compare Source
Added
KEVENT_FLAG_*constants (#5070)PR_SET_MEMORY_MERGEandPR_GET_MEMORY_MERGE(#5060)Changed
v0.2.185Compare Source
Added
espidf_picolibccfg for picolibcO_*flag values (#5035)sprintf,snprintf, and thescanffamily (#5024)Fixed
time64types from musl symbol redirects (#5040)POLLconstants fromc_shorttoc_int(#5045)v0.2.184Compare Source
MSRV
This release increases the MSRV of
libcto 1.65. With this update, you can now always use thecore::ffi::c_*types withlibcdefinitions, sincelibchas been changed to reexport fromcorerather than redefining them. (This usually worked before but had edge cases.)(#4972)
Added
IP_MINTTLto bsd (#5026)TIOCM_DSR(#5031)xfilestructe and file descriptor types (#5002)struct ethhdr(#4239)struct ifinfomsg(#5012)max_align_tfor riscv64 (#5029)CLOCK_constants (#5020)_SC_HOST_NAME_MAX(#5004)flockandF_*LCKconstants (#4043)_SC_*sysconf constants (#5023)Deprecated
The remaining fixed-width integer aliases,
__uint128_t,__uint128,__int128_t, and__int128,have been deprecated. Use
i128andu128instead. (#4343)Fixed
DT_*constants (#5034)RTLD_NOLOAD, some TCP constants (#5025)Padding::new(<zeroed>)rather thanPadding::uninit()(#5036)Changed
struct ptrace_syscall_info(#4966)core::ffiinteger types rather than redefining (#5015)F_DUPFD,IP, andTCPconstants to match relibc (#4990)v0.2.183Compare Source
Added
SOMAXCONN(#4993)name_to_handle_atandopen_by_handle_at(#4988)kinfo_file,kinfo_pcb, and related constants (#4985)kinfo_fileand related constants (#4991)Defaultfortimevalandtimespec(#4976)Fixed
time_tsupport andmusl_v1_2_3(#4992)Padding(#4997)sigaction.sa_flagstoc_int(#4986)blkcnt_ttype (#4994)v0.2.182Compare Source
Added
tgkill(#4970)RENAME_NOREPLACE(#4968)renameat2(#4968)v0.2.181Compare Source
Added
MADV_ZERO(#4924)makedev,major, andminor(#4928)PTRACE_SET_SYSCALL_INFO(#4933)max_align_t(#4927)_CS_PATH(#4956)ppoll(#4957)Fixed
dev_t(#4928)tc{g,s}etattr(#4938)cf{g,s}et{i,o}speedon mips{32,64}r6 (#4938)ptrace_thread_state(#4947)PTHREAD_MUTEX_{NORMAL, RECURSIVE}(#4943)Changed
SO_*constants (#4937)v0.2.180Compare Source
Added
Fixed
CMSG_NXTHDR(#4903)CMSG_NXTHDR(#4903)mcontexttype definitions (#4886)__SIZEOF_PTHREAD_COND_Ton non-L4Re uclibc (#4915)netlinkmodule to resolve build errors (#4915)v0.2.179Compare Source
With this release, we now have unstable support for 64-bit
time_ton 32-bitplatforms with both Musl and Glibc. Testing is appreciated!
For now, these can be enabled by setting environment variables during build:
Note that the exact configuration will change in the future. Setting the
MUSL_V1_2_3variable also enables some newer API unrelated totime_t.Added
XCASE(#4847)NAME_MAX(#4888)AT_EXECVE_CHECK(#4422)SUN_LENmacro (#4269)getitimerandsetitimer(#4890)pthread_tryjoin_nandpthread_timedjoin_np(#4887)time_ton 32-bit platforms (#4463)LINK_STATE_*definitions fromsys/net/if.h(#4751)Fixed
cf{g,s}et{i,o}speed(#4882)pthread(#4479)CPU_SETSIZEon musl 1.2+ (#4865)stat/stat64(#4463)SIGSTKSZ/MINSIGSTKSZ(#4884)PT_{GET,SET}FPREGS,_REG_TIPDR, and_REG_{LR,SP}(#4899)if_msghdralignment (#4902)siginfo_tlayout on 32-bit platforms (#4904)pthread_spin_tto allow arch redefinition. (#4899)Changed
pthreadstruct fields private (#4876)Paddingtype (#4862)Removed
RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64(#4865)v0.2.178Compare Source
Added
issetugid(#4744)__psw_t/fprefset_t/*context_t(#4726)AT_HWCAP{3,4}(#4734)eventfd(#4830)unistd.h(#4811)cfmakeraw(#4704)cfsetspeed(#4704)getresgidandgetresuid(#4752)setresgidandsetresuid(#4752)select.h,stat.h,poll.h,ttycom.h,utsname.h,resource.h,mman.h,udp.h,in.h,in6.h,if.h,fnmatch.h, andsioLibCommon.h(#4781)Deprecated:
TIOCREMOTE(#4764)Fixed:
Note that there were a large number of fixes on NetBSD for this
libcrelease, some of which include minor breakage.EWOULDBLOCKto make it an alias ofEAGAIN(#4790)unnecessary_transmuteswarnings (#4780)SF_SETTABLE(#4764)mcontext_t.mc_fpregs(#)gethostname(#4773)NFT_MSG_MAX(#4761)repr(align(8))forcanxl_frame(#4760)eventfdargument names match OS docs/headers (#4830)ipc_perm, split from OpenBSD asipc.rs(#4782)kinfo_vmentry.kve_path(#)uucred.cr_ngroupsfrominttoshort(#4782)kevent.udata(#4782)mcontext_t.__fpregs(#4782)PT_SUSPEND(#4782)sockaddr_dl.sdl_datafrom 12 to 24 (#4782)if_.rs, fix the definition ofifreq(#4782)time.rs, fix the values ofCLOCK_*_CPUTIME_ID(#4782)timex.rs(#4782)types.rs, correct the definition oflwpid_t(#4782)utmp_.rs, correct the definition oflastlog(#4782)utmpx_.rs, correct utmpx definitions (#4782)_cpusetan extern type (#4782)mcontexttypes (#4782)pid_t(#4825)__wasilibc_register_preopened_fd(#4837)Changed
thread_local(#3653)ucontext_tand unskip its tests (#4760)L_tmpnamandTMP_MAXto the UCRT value (#4566)Removed
SIGSTKFLT(#4749)statvfs.f_sparenon-public (#4782)*_MAXIDconstants andAT_SUN_LDPGSIZE(#4782)IFF_NOTRAILERS(#4782)vm_size_t(#4782)v0.2.177Compare Source
Added
TIOCGETA,TIOCSETA,TIOCSETAW,TIOCSETAFconstants (#4736)pthread_cond_timedwait_relative_np(#4719)_CS_PATHconstant (#4738)SIGEMTfor mips* and sparc* architectures (#4730)elf_aux_info(#4729)wcsnlen(#4721)Changed
v0.2.176Compare Source
Support
rustcsince 1.78. (#2406)Debugis now always implemented, rather than being gated behind theextra_traitsfeature. (#4624)Added
_KERNELmacro. (#4607)st_filereftostruct stat(#4642)accept4POSIX call (#4586)EM_RISCV(#4659)MS_NOSYMFOLLOW(#4389)backtrace_symbols(_fd)(#4668)SOL_PACKEToptnames (#4669)SYS_mseal(#4549)__errno(#4687)dirfd,VDISABLE, and resource consts (#4660)resource.h,fcntl.hconstants (#4666)strftimeandmkostemp[s](#4629)qsort_r(Unix), andqsort(_s)(Windows) (#4677)dlvsymfor Linux-gnu, FreeBSD, and NetBSD (#4671)sigqueue(#4620)Changed
kinfo_procas non-exhaustive (#4553)readdir_r(#4694)epoll_eventis packed (#4639)ctestwith the much more reliable new implementation (#4655 and many related PRs)Fixed
getgrnam_r([#4656](#4656P_IDLEPROCto FreeBSD 15 (#4640)mcontext_t::mc_tlsbaseto FreeBSD 15 (#4640)mcontext_t.mc_tlsbase(#4703)statfs[64](#4549)fpreg_ta union (#4549)gid_tanduid_t(#4689)MAP_FIXED(#4684)Deprecated
deprecatedattribute foriconv(a97a0b53)TIOCMGDTRWAITandTIOCMSDTRWAIT(#4685)Removed
JAIL_{GET,SET}_MASK,_MC_FLAG_MASK(#4691)v0.2.175Compare Source
Added
getpeereid(#4524)struct ld_infoand friends (#4578)struct winsize(#4577)CLONE_CLEAR_SIGHANDandCLONE_INTO_CGROUP(#4502)prctlconstants (#4531)mcontext_t.mc_tlsbase(#4503)kinfo_proc.ki_uerrmsg(#4552)in_conninfo(#4482)xinpgenand related types (#4482)xktls_session(#4482)libbsd(#4221)SECBIT_*(#4480)ioctlrequest generator macros (#4460)ptsname_r(#4608)strftime*(#4453)EXEC_RESTRICT_*andEXEC_DENY_*(#4545)Changed
constto signatures to be consistent with other platforms (#4563)Fixed
struct statvfs.f_fsid(#4576)ioctlrequestargument (#4582)stat{,64}.st_*tim(#4597)errnovalues (#4507)target_os->target_archcheck (#4550)xktls_session_onedir.ifnet(#4552)nlink_t(#4509)stack_t(#4528)SI_TIMER,SI_MESGQandSI_ASYNCIOdefinitions (#4529)si_errnoandsi_codeinsiginfo_t(#4530)statfs(#4527)fanotify_event_metadata(#4510)enum fae_actionto be#[repr(C)](#60a8cfd5)char->c_char(eaab4fc3)termiosdefinitions (#4518)EDEADLK(#4517)NCCS(#4513)MAP_LOCKEDandMAP_NORESERVE(#4516)shmid_ds(#4519)Deprecated
MAP_32BITis only defined on x86 on non-x86 architectures (#4511)Removed
FINDandENTER(#4588)O_FSYNC(#4515)RTLD_DEEPBIND(#4515)v0.2.174Compare Source
Added
pidfd_infofields pub (#4487)Fixed
timespec.tv_nsec(#4497)nlink_ttype forst_nlinkinstruct statdefinition (#4483)Other
unpredictable_function_pointer_comparisonslints (#4489)pointer::cast. (#4490)CMSG_NXTHDR. (#4492)v0.2.173Compare Source
Added
SO_SPLICEsocket option support for FreeBSD >= 14.2 (#4451)_TIME_BITS=64(#4433)nsfsioctls (#4436)prctls(#4400)linux/cn_proc.handlinux/connector.h(#4434)pwritev2andpreadv2(#4452)MADV_SOFT_OFFLINEconstant (#4448)struct tcp_info(#4443)arc4randomandarc4random_buf(#4464)MADV_SOFT_OFFLINEdefinition (#4447)time.hfunctions (#4427)Changed
SA_constants. (#4426)CMSG_ALIGN,CMSG_LEN, andCMSG_SPACEconst functions (#4441)Fixed
fpos_t(#4472)struct ipc_permbindings (#4384)O_LARGEFILEconstant value. (#4443)v0.2.172Compare Source
Added
getauxvalfor 32-bit targets (#4338)if_tun.hioctls (#4379)SO_BINDTOIFINDEX(#4391)posix_spawn_file_actions_add[f]chdir[_np](#4387)filedescandfdescenttbl(#4327)AF_UNSPEC(#4344)AF_VSOCK(#4344)timerfdAPIs (#4333)_IO,_IOW,_IOR,_IOWRto the exported API (#4325)tcp_infoto uClibc bindings (#4347)input-event-codes.h(#4326)seccomp.h(#4330)ptrace_sud_configand relatedPTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG. (#4386)pthread_attr_setstack(#4349)utmpxAPI (#4332)getrandomon all platforms (#4346)io-sock(#4169)sys/socket.handsys/uio.hdefinitions (#4388)O_DIRECTandSIGINFO(#4348)secure_getenv(#4342)d_typemember todirent(#4352)Deprecated
TCP_PCAP_OUTandTCP_PCAP_IN(#4381)Fixed
statfs(#4324)AF_INET = 3(#4344)SA_ONSTACKon RISC-V-32 (#4335)waitpidparameter name (#4334)Removed
O_FSYNCon RISC-V-32 (useO_SYNCinstead) (#4335)RTLD_DEEPBINDon RISC-V-32 (#4335)Other
MFD_EXECandMFD_NOEXEC_SEALon sparc64" (#)$PWDinstead of$(pwd)in run-docker (#4345)openptyandforkptypolyfills to Illumos, replace Solaris implementation with bindings (#4329)v0.2.171Compare Source
Added
if_nameindex/if_freenameindexsupport (#4247)devname(#4285)spawn.hinterfaces available on all FreeBSD-like systems (#4294)AF_XDPstructs for all Linux environments (#4163)F_SEAL_EXEC(#4316)SO_PREFER_BUSY_POLLandSO_BUSY_POLL_BUDGET(#3917)devmemstructs (#4299)SO_DEVMEM_DONTNEED(#4299)closefrom(#4290)pw_passwdfield topasswd(#4222)IP_BOUND_IFandIPV6_BOUND_IF(#4287)wasm32-wali-linux-musltarget (#4244)Changed
sa_sigactioninstead of a union (#4250)msqid_ds.__msg_cbytespublic (#4301)major,minor,makedevintoconst fn(#4208)Deprecated
Fixed
stat::st_sizesigned (#4298)SI_TIMER,SI_MESGQ,SI_ASYNCIO(#4292)tm_zoneandd_namefields to usec_chartype (#4222)c_int(#4304)Other
--no-self-updatetorustup update(#4306)i586-pc-windows-msvctarget (#4311)check_cfgjob (#4322)ctestproblems (#4311)Removed
pthread_set_name_np(#4251)v0.2.170Compare Source
Added
setdomainnameandgetdomainname#4212evdevstructures #3756st_filerevfield tostat32(#4254)SI_*`` andTRAP_*`` signal codes #4225RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64. #4148Deprecated
Changed
Fixed
WEXITSTATUS#4213getmntinfo(#4265time_t#426Other
v0.2.169Compare Source
Added
sockaddr_vmdefinition #4194Fixed
Breaking: rust-lang/rust#132975 corrected the signedness of
core::ffi::c_charon various Tier 2 and Tier 3 platforms (mostly Arm and RISC-V) to match Clang. This release contains the corresponding changes tolibc, including the following specific pull requests:c_charwith a reexport #4195c_charon various targets #4199c_charconfiguration fromrust-lang/rust#4198Cleanup
c_voidin target-specific code #4200v0.2.168Compare Source
Added
IFA_*constants available on all Linux targets #4185MAP_DROPPABLE#4173SIGRTMINandSIGRTMAX#4171memccpyandmempcpyGNU extension <#4186.Deprecated
Fixed
Debugimplementation for unions opaque (#4176)Other
unpredictable_function_pointer_comparisonslint where needed #4177v0.2.167Compare Source
Added
st_fstypetostat#4145intptr_tanduintptr_t(#4161)Fixed
rustc-dep-of-std#4158clockid_tstatic variables (#4157)Cleanup
unused_qualifications#4132Other
wasm32-wasi#4157Removed
v0.2.166Compare Source
Fixed
This release resolves two cases of unintentional breakage from the previous release:
const externfunctions are always enabled #4151v0.2.165Compare Source
Added
mkostemp,mkostemps#3601in6_ifreq#3617sysctlnet types #4022 (before release: removeif_family_id(#4137))kcmpcall support #3746MAP_32BITandMAP_EXCL#4127domainnamefield toutsname(#4089)f_flagsto structstatfsfor arm, mips, powerpc and x86 #3663malloc_stats#3596ptp_*structs #4113ptp_clock_caps#4128ptp_pin_functionand mostPTP_constants #4114mount_setattrsyscall #4046len8_dlcfield ofcan_frame#3357utmpxAPI #3213mcontext-related data for RISCV64 #3468netinetconstants #3586)_POSIX_VDISABLE(#4103)const extern fnmacro works #4134std#3616htonl,htons,ntohl,ntohs#3669aligned_alloc#3843aligned_realloc#3592Fixed
MAP_HASSEMAPHOREname (#4127)SA_*mismatched types (#3211)Elf{32,64}_Relr-related tests #3647loongarch64-linux-muslriscv64gc-unknown-freebsd#4129Deprecated
iconv_open25e022amach_task_self#4095machdeprecation notices for things that were removed inmain#4097Cleanup
f!macro to be more flexible #4107libc_alignconditionalb5b553dlibc_cfg_target_vendorconditional #4060libc_const_size_ofconditional5a43dd2libc_core_cvoidconditional #4060libc_int128conditional #4060libc_non_exhaustiveconditional #4060libc_packedNconditional #4060libc_priv_mod_useconditional19c5937libc_unionconditionalb9e4d80long_arrayconditional #4096ptr_addr_ofconditional #4065struct_formatter#4074d63be8bsiginfo_t(#3261)27ee6fe77de375Other
fanotify_event_info_fidto FAM-exempt types #4038loongarch64-unknown-linux-musl#4092aarch64-apple-darwinnot a nightly-only target #4068libc_const_extern_fnconditional674cc1flibc_underscore_const_namesconditionalf0febd5git-blame-ignore-revsfile #4107ATF_*constants for OpenBSD #4088v0.2.164Compare Source
MSRV
This release increases the MSRV of
libcto 1.63.Other
v0.2.163Compare Source
Added
dlopenflags #4044TCP_FUNCTION_BLKandTCP_FUNCTION_ALIAS#4047confstr#3612aio#4033arc4random*#3944Changed
ssize_t = isize#4029confstranducontext_t#4035Other
i686-unknown-freebsd#3997sortdo not depend on locale #4026rust-versioninCargo.toml#4041v0.2.162Compare Source
Added
uc_mcontexton arm64 #3894host_cpu_load_info#3916CLOSE_RANGE_CLOEXECflag#3996__gregset_t#3995ucontext_tandmcontext_tavailable on all architectures #3848getentropy#3991syncfs#3990ioctlflags #3960pthread_[get/set]name_np#4003arc4random_buf#3989Fixed
-lc#4002st_fsidfield tost_dev#3785utsname#3992FNM_CASEFOLDdefinition #4004Other
extern crateusage #3897mode_tconstants to octal #3634wasm32-wasitarget that has been deleted upstream #4013v0.2.161Compare Source
Fixed
FNM_PATHNAMEandFNM_NOESCAPEvalues #3983v0.2.160Compare Source
Added
PR_GET_NAMEandPR_SET_NAME#3941F_TRANSFEREXTENTS#3925mach_error_string#3913pthreadAPIs #3846LOCAL_PEERTOKENsocket option #3929RTF_*,RTA_*,RTAX_*, andRTM_*definitions #3714AT_EACCESS#3911getgrgid,getgrnam,getgrnam_randgetgrgid_r#3912getpwnam_randgetpwuid_r#3906POLLRDHUP#3936arc4random#3945ptsname_r#3867fanotifyinterfaces #3695tcp_info#3480ioplandioperm#3720posix_spawnchdir functions #3949utmpx.hconstants #3908sysctlnametomib,CLOCK_THREAD_CPUTIME_IDandCLOCK_PROCESS_CPUTIME_ID#3927getentropy#3973POLLRDHUP,POSIX_FADV_*,O_RSYNC, andposix_fallocate#3936fnmatch.h#3937Changed
ino_tto bec_ulonglong#3919Fixed
struct staton FreeBSD 12+ #3946Other
windows-sys#3915v0.2.159Compare Source
Added
AT_*constants in #3779NOTE_*constants in #3883__timevalfor 64-bit support in #3786epoll_pwait2in #3868mq_notifyin #3849NFT_CT_*constants in #3844fchmodat2syscall in #3588msealsyscall in #3798sendmmsgandrecvmmsgin #3831IN6ADDR_ANY_INITandIN6ADDR_LOOPBACK_INITin #3693S_ISVTXin #3768vxCpuLibandtaskLibfunctions #3861std::netsupport in #3892Fixed
clippy-driveris used #3893Changed
ioctlAPIs in #3722v0.2.158Compare Source
Other
Iteratorwithrustc-dep-of-stdin #3856 (comment)v0.2.157Compare Source
Added
_NSGetArgv,_NSGetArgcand_NSGetPrognamein #3702RUSTC_WRAPPERsupport in #3845execvpesupport from 14.1 release in #3745SO_BINDTOIFINDEXklogctlin #3777fcntlOFD commands in #3563_lwp_parkin #3721pthread_equalin #3773select,FD_SET,FD_ZERO,FD_ISSETin #3681Fixed
O_*constants in #3841Changed
rustc_dep_of_stdis set in #3723v0.2.156Compare Source
Added
F_ALLOCATEPERSISTin #3712os_sync_wait_on_addressand related definitions in #3769IPV6_DONTFRAGto all BSD targets in #3716IP_RECVTTL/IPV6_RECVHOPLIMITin #3751XATTR_CREATE,XATTR_REPLACEin #3739confstrAPI and_CS_*in #3771preadv2andpwritev2(1.2.5 min.) in #3762SOMAXCONNin #3761Fixed
ifa_flagstype to u64 in #3729libregexin #3775Changed
addr_of!(EXTERN_STATIC)is now considered safe in #3776Removed
rmx_statein #3776Other
v0.2.155Compare Source
What's Changed
SYS_lseekandSYS_mmapfor aarch64 Android by @lberrymage in #3632posix_spawn{_file_actions_t,attr_t}on Android by @tesuji in #36900.2.155by @madsmtm in #3682New Contributors
Full Changelog: https://github.com/rust-lang/libc/compare/0.2.154...0.2.155
v0.2.154Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/rust-lang/libc/compare/0.2.153...0.2.154
v0.2.153Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/rust-lang/libc/compare/0.2.152...0.2.153
v0.2.152Compare Source
What's Changed
i686-pc-windows-gnuCI by @JohnTitor in #3489ifreq,ifconfand related constants to Android by @arctic-alpaca in #3487TFD_TIMER_*constants on FreeBSD. by @sunfishcode in #3506clockid_tby @JohnTitor in #3516include/linux/sched.hheader by @GuillaumeGomez in #3515New Contributors
Full Changelog: https://github.com/rust-lang/libc/compare/0.2.151...0.2.152
v0.2.151Compare Source
What's Changed
IP_RECVTTLandIPV6_RECVHOPLIMITfor Apple platforms by @larseggert in #3450aarch64-linux-androidby @JohnTitor in #3438if_xdp.hstructs and constants and addSOL_XDPto musl by @arctic-alpaca in #3453aarch64-apple-darwindocs on docs.rs by @JohnTitor in #3470New Contributors
Full Changelog: https://github.com/rust-lang/libc/compare/0.2.150...0.2.151
v0.2.150Compare Source
What's Changed
MCL_ONFAULTconstants by @newpavlov in #3380grp.hfunctions by @ids1024 in #3421New Contributors
Full Changelog: https://github.com/rust-lang/libc/compare/0.2.149...0.2.150
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.