Commit Graph

4479 Commits

Author SHA1 Message Date
bors 3c907ed65b Auto merge of #2063 - JohnTitor:asmjs-ci, r=JohnTitor
Re-enable CI for `asmjs-unknown-emscripten`

#1591 was closed by #1697 but it was only for `wasm32-unknown-emscripten` actually. We should make a new issue and link to it instead if it's still broken.
r? `@ghost`
2021-02-10 06:04:03 +00:00
Yuki Okushi 29feed133c Re-enable CI for `asmjs-unknown-emscripten` 2021-02-10 15:02:40 +09:00
bors 734bb32cf3 Auto merge of #2062 - JohnTitor:wasi-wchar-t, r=JohnTitor
Declare `wchar_t` for WASI

Fixes #2045
r? `@ghost`
2021-02-10 04:03:56 +00:00
Yuki Okushi f0009bcc19 Declare `wchar_t` for WASI 2021-02-10 13:02:42 +09:00
bors 59c4f0c71e Auto merge of #2059 - GuillaumeGomez:upgrade-version, r=JohnTitor
Upgrade crate version to 0.2.86

Following #2058.

If you could make a release, it'd be awesome! Thanks in advance!
2021-02-08 14:13:20 +00:00
bors 5f7c6c1ef9 Auto merge of #2060 - Thomasdezeeuw:macos-so_linger_sec, r=JohnTitor
Add SO_LINGER_SEC on macOS
2021-02-08 12:42:05 +00:00
Thomas de Zeeuw a8a28adcc2 Add SO_LINGER_SEC on macOS 2021-02-08 13:20:18 +01:00
bors 05cc7961af Auto merge of #2034 - nielx:haiku-native, r=JohnTitor
Haiku: add definitions for the Haiku's native sytem API.

On the Haiku platform, the POSIX (and BSD) API coexists with the native API,
that has its origins on the BeOS platform. Unlike other UNIX-like platforms,
the native API is not an extension of the POSIX API, but instead exists sui
generis, and many of the POSIX concepts have their own native variety, with
relatively limited interoperability.

Nonetheless, the native API coexists in the same library as the standard C and
POSIX functions, namely libroot.so, and therefore this crate is a good place
to add bindings to it.

This commit implements most of Haiku's support kit, the most important parts
of the kernel kit, and a part of the storage kit.
2021-02-08 10:48:13 +00:00
Guillaume Gomez 1e7e5f303b Upgrade crate version to 0.2.86 2021-02-08 09:36:13 +01:00
bors b43486f4ff Auto merge of #2058 - GuillaumeGomez:mac-adds, r=Amanieu
Add getmntinfo and getmntinfo functions, MNT_WAIT and MNT_NOWAIT constants
2021-02-07 21:58:28 +00:00
Guillaume Gomez d51b418bfe Add getmntinfo and getmntinfo functions, MNT_WAIT and MNT_NOWAIT constants 2021-02-07 22:47:16 +01:00
bors 49776c2c98 Auto merge of #2055 - kellda:fix-2025, r=Amanieu
Drop support for CloudABI

Fixes #2025

I'm fine to wait until a breaking version number is released for this to be merged.
2021-02-03 23:12:16 +00:00
kellda 7c136e5050 Drop support for CloudABI 2021-02-03 19:29:15 +00:00
bors f07c693e4d Auto merge of #2053 - Amanieu:bump, r=Amanieu
Bump to 0.2.85

r? `@ghost`
2021-02-02 04:44:06 +00:00
Amanieu d'Antras cb8339ee17 Bump to 0.2.85 2021-02-02 04:42:59 +00:00
bors ab5aa27d25 Auto merge of #2052 - Amanieu:fix_rustc_musl, r=JohnTitor
Don't mark musl's time_t as deprecated in rustc build

This allows rustc to use the latest version of the libc crate.
2021-02-02 02:25:09 +00:00
Amanieu d'Antras 6c7f2a065d Update style.rs for new Rustfmt style 2021-02-01 22:53:00 +00:00
Amanieu d'Antras 9d393107c6 Rustfmt 2021-02-01 22:52:54 +00:00
Amanieu d'Antras 60da93f9cc Don't mark time_t as deprecated on musl in rustc build 2021-02-01 22:01:47 +00:00
bors aead99a495 Auto merge of #2051 - asomers:aio_writev, r=Amanieu
Add aio_readv and aio_writev

They are new in FreeBSD 13.

While I'm here, refactor freebsd to add a new FreeBSD 13 module.
2021-01-30 14:03:11 +00:00
Alan Somers c070417497 Add aio_readv and aio_writev
They are new in FreeBSD 13.
2021-01-29 16:06:09 -07:00
Alan Somers e3482c13c1 Refactor freebsd to add a new FreeBSD 13 module 2021-01-29 16:05:51 -07:00
bors 4af234205f Auto merge of #2049 - tweksteen:bump_0_2_84, r=Amanieu
Bump to 0.2.84
2021-01-29 03:11:47 +00:00
Niels Sascha Reedijk 813d7d839b Haiku: fix various issues pointed out by the automated tests
No changes to other platforms.
2021-01-28 14:31:24 +00:00
Niels Sascha Reedijk 497f7f40f7 Haiku: support testing framework on Haiku 2021-01-28 14:31:24 +00:00
Niels Sascha Reedijk c3f7febb83 Haiku: add definitions for the Haiku's native sytem API.
On the Haiku platform, the POSIX (and BSD) API coexists with the native API,
that has its origins on the BeOS platform. Unlike other UNIX-like platforms,
the native API is not an extension of the POSIX API, but instead exists sui
generis, and many of the POSIX concepts have their own native variety, with
relatively limited interoperability.

Nontheless, the native API coexists in the same library as the standard C and
POSIX functions, namely libroot.so, and therefore this crate is a good place
to add bindings to it.

This commit implements most of Haiku's support kit, the most important parts
of the kernel kit, and a part of the storage kit.
2021-01-28 14:13:41 +00:00
Thiébaud Weksteen 71d3bf109e Bump to 0.2.84 2021-01-28 14:37:30 +01:00
bors 21347eee5a Auto merge of #2047 - JohnTitor:tweak-readmes, r=JohnTitor
Replace all mentions about Pipelines with GHA

I updated some reference on 5b2bdd1125 but not completely. This fixes a broken link on README.

r? `@ghost`
2021-01-28 12:08:47 +00:00
bors 024d1515ae Auto merge of #2043 - tweksteen:set_abort_message, r=JohnTitor
android: add android_set_abort_message

As definied in set_abort_message.h [1].

[1] https://android.googlesource.com/platform/bionic/+/master/libc/include/android/set_abort_message.h
2021-01-28 11:07:54 +00:00
bors 6f591dfca5 Auto merge of #2048 - joshtriplett:semverver-locked, r=JohnTitor
ci/semver.sh: Pass --locked when installing semverver

We don't, in general, want our CI to be the testbed for building
semverver with newer versions of its dependencies. Pass --locked to use
the checked-in Cargo.lock instead.

This works around https://github.com/rust-lang/cargo/issues/9101 .
2021-01-28 10:06:56 +00:00
Josh Triplett 783d724a0d ci/semver.sh: Pass --locked when installing semverver
We don't, in general, want our CI to be the testbed for building
semverver with newer versions of its dependencies. Pass --locked to use
the checked-in Cargo.lock instead.

This works around https://github.com/rust-lang/cargo/issues/9101 .
2021-01-28 01:35:27 -08:00
Thiébaud Weksteen 9df0cdf5fe android: add android_set_abort_message
As definied in set_abort_message.h [1]. Update buils.rs to include
Android-specific headers.

[1] https://android.googlesource.com/platform/bionic/+/master/libc/include/android/set_abort_message.h
2021-01-28 10:33:31 +01:00
Yuki Okushi 7da9413423 Replace all mentions about Pipelines with GHA 2021-01-28 18:29:32 +09:00
bors 0dce92d89b Auto merge of #2046 - joshtriplett:fix-static-linking, r=JohnTitor
Remove link directives for libutil on linux-gnu targets

These are all handled in src/unix/mod.rs now, which also addresses the
crt-static case; no linux-gnu target should have any link directives in
any other module.

This fixes static linking with glibc for various architectures.
2021-01-28 09:02:55 +00:00
Josh Triplett 6859d47e78 Remove link directives for libutil on linux-gnu targets
These are all handled in src/unix/mod.rs now, which also addresses the
crt-static case; no linux-gnu target should have any link directives in
any other module.

This fixes static linking with glibc for various architectures.
2021-01-28 00:21:42 -08:00
bors 389026982d Auto merge of #2038 - semarie:bump, r=JohnTitor
Bump to 0.2.83
2021-01-27 21:12:17 +00:00
bors 77180b6db8 Auto merge of #2042 - pfmooney:illumos-portnotify, r=JohnTitor
Add port_notify struct for illumos and Solaris

This adds a missing struct for configuring event ports notifications.  The `libc-test` suite passes on illumos (OmniOSCE) and is assumed to pass on Solaris, given that the interface has been present since Oracle forked from OpenSolaris.
2021-01-27 03:18:36 +00:00
bors 5421f0bde5 Auto merge of #2041 - pfmooney:illumos-timers, r=JohnTitor
Add timer interface for illumos and Solaris

This adds the `timer_*` family of functions present in illumos (and Solaris), along with the associated types.  The `libc-test` suite passes on an illumos (OmniOSCE) machine.  While I do not have resources available to test on Solaris, these interfaces have been stable since Oracle forked.
2021-01-27 02:21:19 +00:00
bors 3e2f350b84 Auto merge of #2039 - Amanieu:aarch64_ilp32, r=JohnTitor
Add support for the ILP32 variant of AArch64

This also fixes mutex initializers on big-endian AArch64.
2021-01-27 01:17:56 +00:00
bors 9b7dd7c8ec Auto merge of #2040 - slp:add_preadv_pwritev, r=JohnTitor
Add preadv and pwritev for macOS

Add declarations for the preadv and pwritev system calls, introduced
in macOS 11.0 (Big Sur).

Signed-off-by: Sergio Lopez <slp@redhat.com>
2021-01-26 23:07:29 +00:00
bors 50adb91fb7 Auto merge of #2005 - operutka:fix-uclibc-dependencies, r=Amanieu
Fix missing dl lib on armv5te-unknown-linux-uclibceabi

I'm unable to link my executable for the Linux uClibc environment because of some missing symbols from the dl lib:
```
/home/operutka/goodcam/goodcam-server/target/armv5te-unknown-linux-uclibceabi/release/deps/goodcam_server-aefb92c403e8cd55.goodcam_server.dzc3futp-cgu.0.rcgu.o: In function `mio::sys::unix::dlsym::fetch::he5e2964820cfd29d':
      goodcam_server.dzc3futp-cgu.0:(.text._ZN3mio3sys4unix5dlsym5fetch17he5e2964820cfd29dE+0x30): undefined reference to `dlsym'
/home/operutka/goodcam/goodcam-server/target/armv5te-unknown-linux-uclibceabi/release/deps/goodcam_server-aefb92c403e8cd55.goodcam_server.dzc3futp-cgu.0.rcgu.o: In function `std::sys::unix::weak::fetch::h5ed4b0fa5792ef5c':
      goodcam_server.dzc3futp-cgu.0:(.text._ZN3std3sys4unix4weak5fetch17h5ed4b0fa5792ef5cE+0x3c): undefined reference to `dlsym'
```

The libc crate is being used at both of these points.

This change fixes the issue for me. I've tested it with two different GCC cross toolchains for armv5te and it seems to be OK.

_Note: I'm building my own std using the unstable build-std Cargo feature._
2021-01-26 21:34:59 +00:00
bors f7a9029c2c Auto merge of #2044 - JohnTitor:fix-ci, r=JohnTitor
Fix CI on `i686-unknown-linux-musl`

I suspect `focal-20210119` breaks the build, uses an older image to fix the `Could not configure 'libc6:i386'` failure.
2021-01-26 20:30:13 +00:00
Yuki Okushi faa0184ad2 Use `libc6-i386` instead of `libc6:i386` 2021-01-27 05:29:04 +09:00
Patrick Mooney 0d61dcb7f3 Add port_notify struct for illumos and Solaris 2021-01-22 16:45:39 +00:00
Patrick Mooney 5675256b80 Add timer interface for illumos and Solaris 2021-01-22 04:21:43 +00:00
Sergio Lopez 81c3e9835d Add preadv and pwritev for macOS
Add declarations for the preadv and pwritev system calls, introduced
in macOS 11.0 (Big Sur).

Signed-off-by: Sergio Lopez <slp@redhat.com>
2021-01-21 16:26:32 +01:00
Amanieu d'Antras dc02daae5b Fix build with rustc-dep-of-std in the latest nightly 2021-01-20 16:53:06 +00:00
Amanieu d'Antras 062a415aed Add support for the ILP32 variant of AArch64
This commit also fixes mutex initializers on big-endian.
2021-01-20 16:40:07 +00:00
Sébastien Marie 0e09138dc2 Bump to 0.2.83 2021-01-18 15:55:29 +00:00
bors 7f11cdb191 Auto merge of #2035 - semarie:openbsd-safesignal, r=JohnTitor
openbsd: make WIFCONTINUED() safe

it seems it was a missed part of #1891

Found it because rustc -nightly started to use `libc::WIFCONTINUED()` recently in a safe context and the build fail to build on OpenBSD.

Fixes #2001
2021-01-18 13:35:07 +00:00