gnzlbg
39decff1f6
Add job on master that publishes the website
2019-10-17 14:52:35 +02:00
bors
bf877ba712
Auto merge of #1549 - GrayJack:solaris-settime, r=gnzlbg
...
Add settimeofday for solaris/illumos
Closes #1547
2019-10-17 11:05:03 +00:00
bors
bc5c15efd0
Auto merge of #1556 - senden9:patch-1, r=gnzlbg
...
Sort targets in documentation. Fixes #1524 .
Should be a simple but effective fix for #1524 . Assume `sort` command is available.
2019-10-17 09:10:14 +00:00
Stefano Probst
5747422855
Sort targets in documentation. Fixes #1524 .
...
Should be a simple but effective fix for #1524 . Assume `sort` command is available.
2019-10-16 20:57:53 +02:00
bors
6dae870ecd
Auto merge of #1554 - nmattia:nm-mcontext, r=gnzlbg
...
Refine definition of mcontext_t on x86_64-unknown-linux-musl
Fixes #1553
I've inlined the links I used for defining constants and fields, although they pretty much map to the changes introduced in ac7f0fac2f
and ae06c2b2ae
.
2019-10-16 16:57:19 +00:00
Nicolas Mattia
e691d9490e
Ensure comments are no longer than 80 chars
2019-10-16 16:31:37 +02:00
Nicolas Mattia
216d8008b6
Refine definition of mcontext_t on x86_64-unknown-linux-musl
2019-10-16 15:35:16 +02:00
bors
ab654a6181
Auto merge of #1552 - gsquire:add-pthread_attr_get_np, r=gnzlbg
...
NetBSD pthread_attr_get_np
This patch adds a signature for the [`pthread_attr_get_np`](https://netbsd.gw.com/cgi-bin/man-cgi?pthread_attr_get_np+3+NetBSD-current ) function for all architectures on NetBSD.
Closes #1538
2019-10-16 12:30:31 +00:00
bors
5daf8361e8
Auto merge of #1551 - senden9:fixes/uclibc_net_const, r=gnzlbg
...
Add networking and futex constants for uclibc
I needed this variables to run some rust program that uses `net2` on a embedded Linux platform.
This platform has as MIPS 74Kc CPU and uses uclibc.
"Proof" that this variables are the same under all uclibc targets:
<details>
<summary>IP constants</summary>
```
➜ uClibc git:(master) git remote -v
origin git@github.com:kraj/uClibc.git (fetch)
origin git@github.com:kraj/uClibc.git (push)
➜ uClibc git:(master) git describe --tags
v0.9.33-984-gca1c74d67
➜ uClibc git:(master) rg -t h -i "define IPV6_MULTICAST_HOPS"
libc/sysdeps/linux/common/bits/in.h
142:#define IPV6_MULTICAST_HOPS 18
➜ uClibc git:(master) rg -t h -i "define IP_MULTICAST_IF"
libc/sysdeps/linux/common/bits/in.h
35:#define IP_MULTICAST_IF 32 /* in_addr; set/get IP multicast i/f */
➜ uClibc git:(master) rg -t h -i "define IPV6_MULTICAST_IF"
libc/sysdeps/linux/common/bits/in.h
141:#define IPV6_MULTICAST_IF 17
➜ uClibc git:(master) rg -t h -i "define IPV6_UNICAST_HOPS"
libc/sysdeps/linux/common/bits/in.h
140:#define IPV6_UNICAST_HOPS 16
```
</details>
<details>
<summary>FUTEX_WAIT</summary>
```
➜ uClibc git:(master) rg -t h -i "define FUTEX_WAIT\W"
libpthread/nptl/sysdeps/unix/sysv/linux/mips/lowlevellock.h
29:#define FUTEX_WAIT 0
libpthread/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
31:#define FUTEX_WAIT 0
libpthread/nptl/sysdeps/unix/sysv/linux/metag/lowlevellock.h
29:#define FUTEX_WAIT 0
libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.h
29:#define FUTEX_WAIT 0
libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h
28:#define FUTEX_WAIT 0
libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
32:#define FUTEX_WAIT 0
libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
47:#define FUTEX_WAIT 0
libpthread/nptl/sysdeps/unix/sysv/linux/alpha/lowlevellock.h
29:#define FUTEX_WAIT 0
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
46:#define FUTEX_WAIT 0
libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
29:#define FUTEX_WAIT 0
```
</details>
</details>
<details>
<summary>FUTEX_PRIVATE_FLAG</summary>
```
➜ uClibc git:(master) rg -t h -i "define FUTEX_PRIVATE_FLAG\W"
libpthread/nptl/sysdeps/unix/sysv/linux/mips/lowlevellock.h
40:#define FUTEX_PRIVATE_FLAG 128
libpthread/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
42:#define FUTEX_PRIVATE_FLAG 128
libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
43:#define FUTEX_PRIVATE_FLAG 128
libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
38:#define FUTEX_PRIVATE_FLAG 128
libpthread/nptl/sysdeps/unix/sysv/linux/metag/lowlevellock.h
40:#define FUTEX_PRIVATE_FLAG 128
libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h
39:#define FUTEX_PRIVATE_FLAG 128
libpthread/nptl/sysdeps/unix/sysv/linux/alpha/lowlevellock.h
40:#define FUTEX_PRIVATE_FLAG 128
libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.h
40:#define FUTEX_PRIVATE_FLAG 128
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
57:#define FUTEX_PRIVATE_FLAG 128
libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
58:#define FUTEX_PRIVATE_FLAG 128
```
</details>
<details>
<summary>FUTEX_WAKE</summary>
```
➜ uClibc git:(master) rg -t h -i "define FUTEX_WAKE\W"
libpthread/nptl/sysdeps/unix/sysv/linux/mips/lowlevellock.h
30:#define FUTEX_WAKE 1
libpthread/nptl/sysdeps/unix/sysv/linux/metag/lowlevellock.h
30:#define FUTEX_WAKE 1
libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h
29:#define FUTEX_WAKE 1
libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
33:#define FUTEX_WAKE 1
libpthread/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
32:#define FUTEX_WAKE 1
libpthread/nptl/sysdeps/unix/sysv/linux/alpha/lowlevellock.h
30:#define FUTEX_WAKE 1
libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
30:#define FUTEX_WAKE 1
libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.h
30:#define FUTEX_WAKE 1
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
47:#define FUTEX_WAKE 1
libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
48:#define FUTEX_WAKE 1
```
</details>
2019-10-16 10:56:10 +00:00
bors
7b31ef34ed
Auto merge of #1548 - GrayJack:openbsd-settime, r=gnzlbg
...
Add settimeofday for openbsd
Closes #1546
2019-10-16 07:42:58 +00:00
bors
e857f95106
Auto merge of #1541 - Hylian:android-rlim-infinity, r=gnzlbg
...
Add `RLIM_INFINITY` definition for Android
This adds the definition for `RLIM_INFINITY` to Android, mirroring the Linux definition. Ran into this while trying to build `sccache` natively in Termux on Android, and is the only thing preventing `sccache` from building on libc master.
2019-10-16 06:00:30 +00:00
bors
6a25288b77
Auto merge of #1540 - gluxon:add-IFLA_INFO_, r=gnzlbg
...
Add IFLA_INFO_ consts
See https://github.com/torvalds/linux/blob/54ecb8f7/include/uapi/linux/if_link.h#L354-L362
2019-10-16 04:28:06 +00:00
bors
f607101159
Auto merge of #1543 - Wind-River:master_001, r=gnzlbg
...
Support vxWorks in libc-test
r? @gnzlbg
2019-10-15 23:06:16 +00:00
Garrett Squire
a94417f033
add pthread_attr_get_np for NetBSD
2019-10-15 15:20:35 -07:00
bors
fab9ea1fe0
Auto merge of #1550 - mati865:rustup, r=gnzlbg
...
Use minimal profile for rustup
Haven't tested it but should fix issue from https://github.com/rust-lang/libc/pull/1549#issuecomment-542203074
2019-10-15 15:59:12 +00:00
Stefano Probst
01992c085e
Add networking and futex constants for uclibc
2019-10-15 16:37:29 +02:00
Mateusz Mikuła
792a9a15c5
Use minimal profile for rustup
2019-10-15 15:49:16 +02:00
GrayJack
f6d9f0230d
Format settimeday on openbsd
2019-10-13 17:13:06 -03:00
GrayJack
f5ff9d9a71
Format settimeofday on openbsd
2019-10-13 16:10:47 -03:00
GrayJack
fb06358b5f
Add settimeofday for solaris/illumos
2019-10-13 15:25:25 -03:00
GrayJack
b97166f68f
Add settimeofday for openbsd
2019-10-13 15:08:59 -03:00
BaoshanPang
d1a37cbcd6
Support vxWorks in libc-test
2019-10-11 09:47:45 -07:00
bors
3a1b3a7f4c
Auto merge of #1537 - nielx:fix/stat-constants, r=gnzlbg
...
Haiku: Fix constants for S_IFIFO and S_IFCHR
2019-10-10 12:03:26 +00:00
bors
7818f12d16
Auto merge of #1542 - Wind-River:master, r=gnzlbg
...
Some updates for vxWorks
adding FIOGETNAME which is used by ioctl() to get file path
adding PATH_MAX
use type c_int for _PARM_NAME_MAX and _PARM_PATH_MAX
2019-10-10 10:50:24 +00:00
BaoshanPang
d07850a435
adding FIOGETNAME which is used by ioctl() to get file path
...
adding PATH_MAX
use type c_int for _PARM_NAME_MAX and _PARM_PATH_MAX
2019-10-08 17:58:15 -07:00
Edward Shin
3166091b00
Add `RLIM_INFINITY` definition for Android
2019-10-06 18:32:17 -04:00
Brandon Cheng
6caa8ea9a5
Add IFLA_INFO_ consts
...
See
https://github.com/torvalds/linux/blob/54ecb8f7/include/uapi/linux/if_link.h#L354-L362
2019-10-06 13:27:23 -04:00
Niels Sascha Reedijk
abddbd3d24
Haiku: Fix constants for S_IFIFO and S_IFCHR
2019-10-04 11:42:57 +01:00
Baoshan
a38aa537bd
Merge pull request #19 from rust-lang/master
...
sync with rust-lang/libc master
2019-09-28 19:26:32 -07:00
bors
ff63cb5178
Auto merge of #1533 - murarth:bsd-pthread-main-np, r=asomers
...
Add `pthread_main_np` to FreeBSD-like and `_lwp_self` to NetBSD
2019-09-28 09:51:00 +00:00
Murarth
36a92d5278
Add `pthread_main_np` to FreeBSD-like and `_lwp_self` to NetBSD
2019-09-27 16:44:38 -07:00
Baoshan
fbf7d5e90f
Merge pull request #18 from rust-lang/master
...
Sync to rust-lang/libc master
2019-09-26 10:58:03 -07:00
bors
f6ed4e01e0
Auto merge of #1532 - Wind-River:master_rebase, r=gnzlbg
...
update rtpSpawn prototype
2019-09-26 00:29:12 +00:00
Baoshan Pang
740ac0c2d0
Using 'Option' with ::
2019-09-25 17:19:40 -07:00
Baoshan Pang
fc80bbbf98
update rtpSpawn prototype
2019-09-25 17:03:57 -07:00
bors
44a063abff
Auto merge of #1531 - gnzlbg:fixs, r=gnzlbg
...
Fix max_align_t
2019-09-25 22:12:22 +00:00
gnzlbg
56d46471e7
Allow missing debug impls in emscripten
2019-09-26 00:11:36 +02:00
gnzlbg
92658ffe04
Fix typo
2019-09-25 22:38:05 +02:00
gnzlbg
16ddbc26f5
max_align_t does not need Debug
2019-09-25 20:19:52 +02:00
gnzlbg
dbc89082d9
use no-extra-traits
2019-09-25 20:11:51 +02:00
gnzlbg
db8785d0e2
Do not use tuple structs
2019-09-25 19:46:43 +02:00
gnzlbg
fe67d7d9f9
Fix max_align_t
2019-09-25 19:36:04 +02:00
Baoshan
a195fd4ac6
Merge pull request #17 from rust-lang/master
...
Sync to rust-lang/libc branch master
2019-09-24 13:40:28 -07:00
bors
90269e85ba
Auto merge of #1526 - Wind-River:master_rebase, r=gnzlbg
...
VxWorks libc cleanups and fixes for some libc-test issues
2019-09-24 08:22:21 +00:00
Baoshan Pang
7f753ce510
Merge branch 'union' of https://github.com/Wind-River/libc into master_rebase
2019-09-23 17:12:00 -07:00
Baoshan Pang
8d83901020
move rtpSpawn and RTP_ID_ERROR from libstd to libc
2019-09-23 17:06:22 -07:00
Baoshan Pang
b4f42d5401
use union for unions
2019-09-23 17:06:17 -07:00
Baoshan
d4d4d33174
Merge pull request #16 from Wind-River/union
...
move rtpSpawn and RTP_ID_ERROR from libstd to libc
2019-09-23 15:21:27 -07:00
Baoshan Pang
97f6c6751c
move rtpSpawn and RTP_ID_ERROR from libstd to libc
2019-09-23 15:07:00 -07:00
n-salim
49f7b41550
Merge pull request #15 from Wind-River/union
...
use union for unions
2019-09-23 14:54:03 -07:00