bors
27ad069636
Auto merge of #2767 - carbotaniuman:patch-1, r=Amanieu
...
Add `stpcpy`, `stpncpy`, and `strtok_r` to unix
These are POSIX 2008 extensions to the C standard.
2022-04-28 16:39:42 +00:00
bors
d747e7dada
Auto merge of #2765 - zhaixiaojuan:master, r=Amanieu
...
Add loongarch64 support
The LoongArch architecture (LoongArch) is an Instruction Set
Architecture (ISA) that has a Reduced Instruction Set Computer (RISC)
style.
The documents are on:
https://loongson.github.io/LoongArch-Documentation/README-EN.html
https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html
2022-04-28 15:33:00 +00:00
bors
d31cbb1ebe
Auto merge of #2751 - guyru:master, r=Amanieu
...
Add unix adjtime support.
2022-04-28 14:29:01 +00:00
zhaixiaojuan
467c34ca3d
Add loongarch64 support
2022-04-28 12:45:26 +00:00
Mara Bos
6700aff25c
Add FreeBSD's umtx timeout struct and flag.
2022-04-28 12:41:11 +02:00
Mara Bos
daebd3e51f
Add umtx_op to FreeBSD.
2022-04-28 11:43:07 +02:00
carbotaniuman
3d7f89f27a
Add stpcpy
, stpncpy
, and strtok_r
to unix
2022-04-26 08:23:01 -05:00
s1341
f9dd83bba5
Use c_ulong instead of c_ulonglong in user_regs_struct
2022-04-25 09:53:31 +03:00
bors
f6df53fd69
Auto merge of #2731 - rtzoeller:pthread_prio_inherit, r=Amanieu
...
Add pthread_mutexattr_setprotocol and pthread_mutexattr_getprotocol on Linux
Include the PTHREAD_PRIO_* constants.
2022-04-24 16:53:38 +00:00
Ryan Zoeller
91395aec78
Add pthread_mutexattr_setprotocol and pthread_mutexattr_getprotocol on Linux
...
Include the PTHREAD_PRIO_* constants.
2022-04-24 10:51:01 -05:00
Guy Rutenberg
d76448f8f1
Remove adjtime for Android
2022-04-23 17:02:03 +03:00
bors
40d529fdff
Auto merge of #2762 - m-ou-se:netbsd-futex-consts, r=Amanieu
...
Add NetBSD's FUTEX_* constants.
This adds the FUTEX_* constants from NetBSD's [src/sys/sys/futex.h](http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/sys/futex.h ).
2022-04-20 14:49:14 +00:00
bors
01b49024c2
Auto merge of #2763 - m-ou-se:dragonflybsd-futex, r=Amanieu
...
Add DragonFly umtx_{sleep, wakeup}.
This adds DragonFly's futex functions: https://man.dragonflybsd.org/?command=umtx§ion=2
2022-04-20 13:08:14 +00:00
bors
d260cea530
Auto merge of #2761 - m-ou-se:openbsd-futex, r=Amanieu
...
Add OpenBSD's futex.h.
This adds OpenBSD's [src/sys/sys/futex.h](https://cvsweb.openbsd.org/src/sys/sys/futex.h?rev=1.2&content-type=text/x-cvsweb-markup ).
2022-04-20 12:05:53 +00:00
Mara Bos
e5b9bc0234
Typo.
...
Co-authored-by: Thom Chiovoloni <chiovolonit@gmail.com>
2022-04-19 17:46:28 +02:00
Mara Bos
9579c1dc58
Add DragonFly umtx_{sleep, wakeup}.
2022-04-19 17:39:38 +02:00
Mara Bos
6c130c9e5f
Add FUTEX_* to semver/netbsd.txt.
2022-04-19 17:32:46 +02:00
Mara Bos
9a3cafa25d
Ignore futex() in libc-test/build.rs on OpenBSD.
2022-04-19 17:02:20 +02:00
Mara Bos
311c7d9e3b
Add OpenBSD's futex.h.
2022-04-19 14:00:31 +02:00
Mara Bos
42450ed56c
Add NetBSD's FUTEX_* constants.
2022-04-19 10:50:46 +02:00
bors
02f4f6cbcc
Auto merge of #2759 - asomers:fbsd12.3, r=Amanieu
...
Update FreeBSD 12 CI image to 12.3. 12.2 is EoL.
11.4 is also EoL, but we need to keep testing on FreeBSD 11 since we
expose a FreeBSD 11 ABI.
2022-04-18 22:29:58 +00:00
bors
13534c34e8
Auto merge of #2757 - MaxF12:master, r=Amanieu
...
Bump version to 0.2.124
Closes #2755 . Also adds SSM sockop bindings for more Apple, OpenBSD and Solaris.
2022-04-18 20:52:07 +00:00
Alan Somers
dbd03ec678
Update FreeBSD 12 CI image to 12.3. 12.2 is EoL.
...
11.4 is also EoL, but we need to keep testing on FreeBSD 11 since we
expose a FreeBSD 11 ABI.
2022-04-14 09:33:45 -06:00
s1341
a4980859d9
Remove existing shadowed PTRACE_GETREGS/PTRACE_SETREGS
2022-04-14 07:03:45 +03:00
maxfranke
2d18edd42a
Bump version to 0.2.124
2022-04-13 19:02:34 +02:00
Guy Rutenberg
7c37f9a623
Remove adjtime for emscripten
2022-04-13 09:22:39 +03:00
bors
dff5aca2a1
Auto merge of #2756 - MaxF12:master, r=Amanieu
...
Added SSM sockops for OSes that have support but were missing from libc
Closes #2753
2022-04-12 21:34:25 +00:00
maxfranke
e7efff4a0a
Fix values for Solaris
2022-04-12 22:44:10 +02:00
maxfranke
78c2d8168b
mixed up lines
2022-04-12 22:41:03 +02:00
maxfranke
2517a62e6e
Added SSM sockops for OSes that have support but were missing from libc
2022-04-12 22:31:48 +02:00
bors
284335c960
Auto merge of #2752 - ian-h-chamberlain:horizon/pthread_condattr, r=Amanieu
...
Add pthread_condattr_{set,get}clock on Horizon OS
These are supported by this `pthread-3ds` PR: https://github.com/Meziu/pthread-3ds/pull/16 and are required to compile, notably, `parking_lot_core` for the `armv6k-nintendo-3ds` target.
cc: `@Meziu` `@AzureMarker`
2022-04-12 19:41:42 +00:00
bors
95aae38dce
Auto merge of #2750 - pfmooney:uclibc-siginfo, r=Amanieu
...
Add siginfo accessors for uclibc
With rust-lang/rust#95688 switching to the libc-provided `si_addr()` accessor on `siginfo_t`, it became apparent that the uclibc target was lacking that implementation (see rust-lang/rust#95866 ).
It would be nice to provide the same accessor in uclibc as the other UNIX-y platforms.
CC: `@asomers` `@name1e5s` `@skrap` - If you have a testing env for this, could you try it out?
2022-04-12 16:53:58 +00:00
Guy Rutenberg
9c8aa216b9
Remove the freebsd specific adjtime.
2022-04-12 16:15:57 +03:00
Ian Chamberlain
77d5ade713
Add pthread_condattr_{set,get}clock on Horizon OS
2022-04-11 22:57:28 -04:00
Guy Rutenberg
81f32d51ed
Add adjtime support.
2022-04-11 22:24:11 +03:00
Patrick Mooney
da00f5544a
Add siginfo accessors for uclibc
2022-04-11 12:03:12 -05:00
bors
45b7f08e8e
Auto merge of #2749 - vityafx:bump-version-to-0-2-123, r=Amanieu
...
Bump version to 0.2.123
Exposes more symbols for OpenBSD and FreeBSD.
2022-04-11 17:00:37 +00:00
Victor Polevoy
aa82c00618
Bump version to 0.2.123
...
Exposes more symbols for OpenBSD and FreeBSD.
2022-04-11 15:28:29 +02:00
s1341
775936e52d
Add GETREGS/SETREGS for android
2022-04-11 11:33:49 +03:00
s1341
ac2785e150
Add extra traits for user_fpregs_struct
2022-04-11 11:33:29 +03:00
s1341
fd6475642c
Add android x86_64 user struct
2022-04-11 10:58:42 +03:00
bors
a0e4f9df3f
Auto merge of #2745 - vityafx:add-sched-constants-for-openbsd, r=Amanieu
...
Add SCHED constants for OpenBSD.
The constants are defined for improving the user experience when calling
the libc functions related to scheduling policies. Also helps with
unifiying the code as all these constants are already defined for other
operating systems.
2022-04-10 22:03:39 +00:00
bors
c25369946c
Auto merge of #2744 - vityafx:add-pthread-functions-to-freebsd, r=Amanieu
...
Add pthread_set/get schedparam functions to FreeBSD.
FreeBSD has these functions and this provides an interface to use them.
In particular, the [`thread-priority`](https://github.com/vityafx/thread-priority/runs/5881232298 ) crate can't be built without those.
2022-04-10 20:43:22 +00:00
bors
5987128633
Auto merge of #2742 - petrochenkov:stabundle, r=Amanieu
...
Remove use of `feature(static_nobundle)`
It's used in "rustc-dep-of-std" mode and prevents removal of this feature from rustc.
(No need to publish a new libc version right now, the rustc PR is still waiting on some other work being finished.)
2022-04-10 19:41:37 +00:00
bors
6e2de912d4
Auto merge of #2740 - junhochoi:ip_dontfrag_freebsdlike, r=Amanieu
...
Add IP_DONTFRAG and IPV6_DONTFRAG for FreeBSD-like
FreeBSD: add IP_DONTFRAG
FreeBSD, DragonFlyBSD: add IPV6_DONTFRAG
2022-04-10 18:37:52 +00:00
bors
c971d659ff
Auto merge of #2747 - Amanieu:disable_semver, r=Amanieu
...
Disable broken CI jobs
These are temporarily removed until someone comes to fix them.
The semver jobs have been broken for over a year now, but are ignored by bors. Now we just disable them completely since they cause confusion when reading the build logs.
The uclibc targets were recently broken by https://github.com/rust-lang/rust/pull/95688 . They are missing a `si_addr()` function on `struct siginfo`.
2022-04-10 13:11:36 +00:00
Amanieu d'Antras
23a301d64b
Remove broken uclibc CI targets
2022-04-10 14:11:16 +01:00
Victor Polevoy
cdba825048
Add SCHED constants for OpenBSD.
...
The constants are defined for improving the user experience when calling
the libc functions related to scheduling policies. Also helps with
unifiying the code as all these constants are already defined for other
operating systems.
2022-04-09 21:53:47 +02:00
Amanieu d'Antras
a544f6def1
Disable broken semver CI jobs
2022-04-09 19:55:18 +01:00
Victor Polevoy
1d5136a6bb
Add pthread_set/get schedparam functions to FreeBSD.
...
FreeBSD has these functions and this provides an interface to use them.
2022-04-09 18:23:35 +02:00