Commit Graph

964 Commits

Author SHA1 Message Date
Raph Levien
7ac91c6d01 Simplify configuration of ai_addr
Merge two separate config blocks for conditionally including ai_addr
in the addrinfo struct for unix/notbsd.
2016-10-20 15:28:06 -07:00
Raph Levien
6d24c4be08 Remove unwind from link libs
The reference to the unwind lib belongs in libstd, not here. Also fix
lint error.
2016-10-20 10:04:26 -07:00
Raph Levien
517e86dfe6 Add support for Fuchsia
These patches add support for the Fuchsia operating system. For the
time being, it shares a lot of infrastructure with the Linux target,
because of the use of a musl-based libc.
2016-10-20 08:37:55 -07:00
Alex Crichton
4260022409 Merge pull request #431 from frozencemetery/pty
Add UNIX 98 pty functions
2016-10-18 23:08:48 -07:00
Robbie Harwood
b6dd4279a9 [squash] Move glibc-isms around 2016-10-18 22:12:11 -04:00
Robbie Harwood
b9f5c460fd Add UNIX 98 pty functions 2016-10-18 20:53:42 -04:00
Alex Crichton
f608f06e33 Merge pull request #430 from alexcrichton/bump
Bump to 0.2.17
2016-10-15 00:46:25 -07:00
Alex Crichton
f75965646e Bump to 0.2.17 2016-10-14 21:59:09 -07:00
Alex Crichton
b01a0fbe5f Merge pull request #428 from alexcrichton/fixes
Add SO_REUSEPORT to mips64
2016-10-14 21:33:25 -07:00
Alex Crichton
0d9d572a28 Merge pull request #429 from alexcrichton/stable-docs
Go back to stable for rustdoc
2016-10-14 21:33:16 -07:00
Alex Crichton
dcf47d21ba Add a number of constants to mips64 2016-10-14 16:36:40 -07:00
Alex Crichton
ff9366548b Go back to stable for rustdoc 2016-10-14 14:54:50 -07:00
bors
ebeab042e6 Auto merge of #426 - alexcrichton:s390x, r=alexcrichton
Fix the build on s390x
2016-10-10 23:51:06 -07:00
Alex Crichton
8a9d8c2c98 Fix the build on s390x 2016-10-10 23:23:08 -07:00
bors
53d0961663 Auto merge of #425 - alexcrichton:appveyor-target, r=alexcrichton
pass --target on appveyor
2016-10-10 23:13:53 -07:00
Alex Crichton
dbc65bc463 pass --target on appveyor 2016-10-10 16:41:23 -07:00
bors
56b270454f Auto merge of #424 - mmatyas:android_afnetlink, r=alexcrichton
Make the AF_NETLINK constant available for Android

Currently the `AF_NETLINK` constant is not available for Android, but [it has the same value as on Linux](https://android.googlesource.com/kernel/common/+/android-4.4.y/include/linux/socket.h#177). To fix it, this patch moves the definition to the common `notbsd/mod.rs`.

(this fixes an [issue we found in Servo](https://github.com/servo/servo/issues/13154#issuecomment-251325701))
2016-10-10 07:39:26 -07:00
Mátyás Mustoha
c52458c38c Make the AF_NETLINK constant available for Android 2016-10-10 14:14:07 +02:00
bors
f3acbba633 Auto merge of #422 - alexcrichton:workspaces, r=alexcrichton
Use workspaces in this repo

Also cache on appveyor to speed up builds.
2016-10-08 17:41:37 -07:00
Alex Crichton
739edbc468 Use workspaces in this repo
Also cache on appveyor to speed up builds.
2016-10-08 17:26:56 -07:00
bors
c90d379866 Auto merge of #420 - kallisti5:master, r=alexcrichton
Haiku: Add missing EAI_SYSTEM const
2016-10-08 12:39:58 -07:00
bors
5a17b4a733 Auto merge of #421 - kali:master, r=alexcrichton
define more MSG_NOSIGNAL

follow-up on rust-lang/rust#36824
2016-10-08 11:01:21 -07:00
Mathieu Poumeyrol
a59d299645 define more MSG_NOSIGNAL 2016-10-08 12:51:53 +02:00
Alexander von Gluck IV
ecfb968100 Haiku: Add missing EAI_SYSTEM const 2016-10-07 09:18:44 -05:00
bors
9497f192e7 Auto merge of #419 - vojtechkral:patch-1, r=alexcrichton
Typo in unix/solaris/mod.rs
2016-10-06 08:47:29 -07:00
Vojtech Kral
7e5a2e52fe Typo in unix/solaris/mod.rs 2016-10-06 16:50:56 +02:00
bors
a6ada0035f Auto merge of #413 - zenhack:CLONE_NEWCGROUP, r=alexcrichton
Define CLONE_NEWCGROUP

Should be fairly self explanatory.
2016-10-05 16:08:44 -07:00
Ian Denhardt
cd03b14093 Fix musl-i686 CI failures.
* Override the compiler via CC; ./configure can't seem to detect it.
* Unset CROSS_COMPILE when running make. Per the comment, we otherwise
  end up invoking commands like i686-ar.
2016-10-05 18:53:52 -04:00
Ian Denhardt
0ecafc3197 Consolidate and fix musl-specific definitions.
Musl 1.1.14 defined these incorrectly, and we followed suit. They're
fixed in 1.1.15, so we fix them here as well.

Since these are kernel ABIs, the correct values match other libc
implementations, so we move them up to the topmost module possible.
2016-10-05 18:53:52 -04:00
Ian Denhardt
8ff1c4172e Test against newer c libraries
Specifically:

* Update the base docker images to ubuntu 16.10
* Update musl to version 1.1.15

This is necessary since the versions we were previously using do not
define CLONE_NEWCGROUP, so adding the symbol to the libc crate causes
test failures.
2016-10-05 18:53:51 -04:00
Ian Denhardt
2faafb3815 Define CLONE_NEWCGROUP
Currently restricted to non-Android Linux. In theory this should work on
Android as well (since it's a function of the kernel ABI), but the
released version of the NDK doesn't export it, so putting it in
`notbsd/mod.rs` makes Travis very unhappy.
2016-10-05 18:51:21 -04:00
bors
7c493967d9 Auto merge of #417 - valarauca:master, r=alexcrichton
Added all additional ptrace options.

Added additional PTrace Flags.

All the `PTRACE_O` are flags options values that are passed with `PTRACE_OPTION`.

The `PTRACE_PEEKSIGINFO_SHARED` is used for setting/fetching signal masks when interacting with thread groups not individual threads.

`SYSEMU` stuff I pulled from the kernel sources. As far as I can tell these flags haven't been added to `<sys/ptrace.h>`, which is weird because the two `SYSEMU` calls have been live on x64 since 2011. I'm starting a thread on kernel-newies about it.
2016-10-04 22:51:39 -07:00
William Laeder
12e1cd1896 Forgot the x86 changes 2016-10-05 02:58:58 +00:00
William Laeder
a114e91ba7 Removed SYSEMU flags until I get the stuff sorted out with sys mainters. 2016-10-05 02:55:45 +00:00
William Laeder
acaea91e8f Added all additional ptrace options. 2016-10-05 01:54:51 +00:00
bors
4577f089b4 Auto merge of #416 - kallisti5:master, r=alexcrichton
Haiku: More build fixes
2016-10-04 16:19:26 -07:00
Alexander von Gluck IV
573c5fe94d Haiku: Add in final missing pthread pubs 2016-10-04 17:47:19 -05:00
Alexander von Gluck IV
9f0696e1e8 Haiku: Add missing sem/thread structs. Fix non-pub ULONG 2016-10-04 15:19:38 -05:00
bors
68abfade9f Auto merge of #415 - kallisti5:master, r=alexcrichton
Haiku: Add in missing build-time types, fix module usage

Working through the few final remaining build issues for the Haiku target.
2016-10-04 10:00:05 -07:00
Alexander von Gluck IV
e8155ba221 Haiku: Add missing nl_item type 2016-10-03 10:17:58 -05:00
Alexander von Gluck IV
c5660180a5 Haiku: Fix missing use merge of pointer module 2016-10-03 10:04:11 -05:00
bors
ed16fe6d87 Auto merge of #411 - apasel422:pthread_mutex_timedlock, r=alexcrichton
Add `pthread_mutex_timedlock`
2016-10-02 23:31:43 -07:00
Andrew Paseltiner
45179c97da
Add pthread_mutex_timedlock 2016-10-01 08:01:47 -04:00
bors
858092c822 Auto merge of #410 - kallisti5:master, r=alexcrichton
Add support for Haiku x86 and x86_64

* Rework of original patches from Niels Sascha Reedijk
  that include style and build fixes for libc master
2016-09-30 11:30:27 -07:00
bors
fd06ed7361 Auto merge of #409 - jakllsch:netbsdlike-long-fixes, r=alexcrichton
Use correct type for c_ulong and c_long on 32-bit netbsdlike
2016-09-30 10:36:43 -07:00
bors
0e0ab04abe Auto merge of #391 - japaric:mips-musl, r=alexcrichton
add CI for mips-musl

and fix the statvfs struct for this target

r? @alexcrichton

I didn't really test the CI part but this target now passes libc-test under QEMU
2016-09-30 09:31:35 -07:00
bors
84fbc431f2 Auto merge of #412 - alexcrichton:checksums, r=alexcrichton
Add checksums to cargo lock files
2016-09-30 08:59:55 -07:00
Alex Crichton
10142aa24a Add checksums to cargo lock files 2016-09-29 19:20:58 -07:00
Jorge Aparicio
c0fd46fa36 handle mips-musl in ci/run.sh 2016-09-29 21:12:54 -05:00
Niels Sascha Reedijk
a3ff95554e Add support for Haiku x86 and x86_64
* Rework of original patches from Niels Sascha Reedijk
  that include style and build fixes for libc master
2016-09-29 14:00:57 -05:00