- Sep 30, 2020
-
-
Alistair Francis authored
Signed-off-by:
Alistair Francis <alistair.francis@wdc.com>
-
Yuki Okushi authored
-
Yuki Okushi authored
Add struct ip_mreqn to more Linux targets
-
Yuki Okushi authored
Fix type definition for c_char on sparc-unknown-linux-gnu
-
Yuki Okushi authored
Android: Add vsock constants and struct.
-
Yuki Okushi authored
Add UIO_MAXIOV constant to uclibc
-
- Sep 29, 2020
-
-
Andrew Walbran authored
-
- Sep 27, 2020
-
-
John Paul Adrian Glaubitz authored
On sparc-unknown-linux-gnu, char is signed, not unsigned.
-
- Sep 25, 2020
-
-
Bartel Sielski authored
Support was previously added to gnu x86_64 and all musl targets but others were not included because of a roundtrip issue [1]. This commit adds support for the ip_mreqn struct on all Linux GNU targets which did not have the roundtrip issue. [1]: https://github.com/rust-lang/libc/issues/1558 Signed-off-by:
Bartel Sielski <bartel.sielski@gmail.com>
-
- Sep 21, 2020
-
-
Josh Triplett authored
Move the link line for `libdl` up to `src/unix/mod.rs`, making it easier to see all the libraries `libc` links to. This also makes `libdl` respect `target-feature=+crt-static`.
-
Josh Triplett authored
The two library blocks that specify `#[link(name = "util")]` do not actually reference any functions in `libutil`; the functions that do use `libutil` don't have any reference to it. And having two library blocks specify it results in two separate inclusions of `-lutil` on the linker command line. Move the link lines up to `src/unix/mod.rs`, making it easier to see all the libraries `libc` links to. This also makes `libutil` respect `target-feature=+crt-static`.
-
Josh Triplett authored
This will need corresponding changes in rust-lang/rust to activate, but this will make it possible to make those changes. Note that despite the apparent redundancy in config directives, the link directives cannot be simplified any further. Attempting to factor out the checks for `target_feature = "crt-static"` does not work.
-
- Sep 19, 2020
-
-
Yuki Okushi authored
Define some `sysconf` constants for WASI.
-
- Sep 17, 2020
-
-
Matt Schulte authored
!1880 added UIO_MAXIOV to libc, but did not add it to uclibc. This causes build breaks for std against uclibc.
-
- Sep 13, 2020
-
-
Dan Gohman authored
-
Yuki Okushi authored
Use safe_f! consistently across platforms
-
Daniil Bondarev authored
The pr #1870 introduced safe_f! macro, which made some functions like WIFEXITED and WEXITSTATUS const and safe on linux_like platform only, which causes inconsistency when trying to use those functions in crates compiled across multiple platforms, as using unsafe on those functions will generate unused_unsafe warning on linux platforms and lack of unsafe block will fail compilation on non-linux platforms. To avoid the inconsistency, this commit applies the same macro for all the same functions on other platforms too.
-
- Sep 10, 2020
-
-
Yuki Okushi authored
Bump up to 0.2.77
-
Yuki Okushi authored
add pthread_getattr_np() and pthread_attr_getstack() for Solaris
-
Yuki Okushi authored
Define several more constants for WASI.
-
Yuki Okushi authored
Add getitimer and setitimer for macOS
-
- Sep 09, 2020
-
-
Petr Sumbera authored
-
- Sep 04, 2020
-
-
Dan Gohman authored
Define `O_NOCTTY`, `R_OK`, `POLLIN`, and related constants using the current values from WASI libc.
-
- Sep 03, 2020
-
-
MeiK authored
Add getitimer and setitimer for macOS
-
- Sep 02, 2020
-
-
Yuki Okushi authored
Add missing syscall numbers for aarch64-musl
-
Yuki Okushi authored
Add support for Apple's O_SYMLINK flag
-
Yuki Okushi authored
Add IOV_MAX and UIO_MAXIOV constants
-
Yuki Okushi authored
-
- Aug 31, 2020
-
-
alindima authored
-
- Aug 30, 2020
-
-
John Colanduoni authored
-
- Aug 28, 2020
-
-
Thomas de Zeeuw authored
These constant can be used to determine the maximum number of iovecs can be passed to functions like readv/writev. Linux like uses UIO_MAXIOV, while the BSD family uses IOV_MAX.
-
- Aug 25, 2020
-
-
Daniil Bondarev authored
-
- Aug 24, 2020
-
-
Chuck Musser authored
-
Yuki Okushi authored
Haiku: add [get/set]priority()
-
- Aug 23, 2020
-
-
Chuck Musser authored
Expose __errno_location() (introduced in DragonFlyBSD 5.8), which returns the current thread's errno value. This is similar to Linux and avoids having a separate module that defines both errno (which depends on the thread_local feature) and an __error() function.
-
- Aug 22, 2020
-
-
Niels Sascha Reedijk authored
These methods were added in Haiku R1 beta 2.
-
Yuki Okushi authored
Update Windows Server and Visual Studio versions to 2019
-
Yuki Okushi authored
Added clock_getcpuclockid to more targets
-
Daniil Bondarev authored
Previously clock_getcpuclockid was enabled only on linux, with this change it is enabled on all linux_like and freebsdlike.
-
- Aug 21, 2020
-
-
Yuki Okushi authored
-