- Sep 21, 2020
-
-
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 13, 2020
-
-
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
-
Yuki Okushi authored
Clarify the use of external Docker image
-
Yuki Okushi authored
-
- Aug 20, 2020
-
-
Yuki Okushi authored
Update emsdk to 1.39.20
-
Yuki Okushi authored
-
Yuki Okushi authored
Bump up to 0.2.76
-
Yuki Okushi authored
-
Yuki Okushi authored
-
Josh Triplett authored
-
Josh Triplett authored
Let's prevent this from happening again.
-
Josh Triplett authored
-
Yuki Okushi authored
libc 0.2.75
-
Yuki Okushi authored
-
Yuki Okushi authored
-