- May 23, 2019
-
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
Non-existent constants like SYS_syscalls have been removed
-
gnzlbg authored
* Update Android NDK to version r19c * Update Android API versions to: * API 24 on arm and aarch64 targets * API 28 on x86 and x86_64 targets * Unified headers were removed in NDK 16 * Refactor the NDK and SDK installation scripts * OpenJDK version 8 must be kept: it appears that the Android tools do not work with more modern OpenJDK versions.
-
- May 22, 2019
-
-
bors authored
Refactor OpenBSD-like module into OpenBSD The only OpenBSD-like OS that we support after bitrig's removal is OpenBSD itself. cc @semarie
-
gnzlbg authored
-
bors authored
[breaking change] gettimeofday 2nd argument incorrect in some targets The second argument of `gettimeofday` was a `*mut c_void` on all targets, but that type is incorrect in the following targets, where it should be a `*mut timezone` instead: On these other targets it appears that the signature of gettimeofday was incorrect (it takes a time-zone pointer instead of a void pointer): *linux+gnu: http://man7.org/linux/man-pages/man2/gettimeofday.2.html *freebsd: https://www.freebsd.org/cgi/man.cgi?query=gettimeofday&apropos=0&sektion=2&manpath=FreeBSD+11.2-stable&arch=default&format=html *openbsd: https://man.openbsd.org/gettimeofday.2 *android: https://github.com/ricardoquesada/android-ndk/blob/master/usr/include/sys/time.h *dragonfly: https://www.dragonflybsd.org/cgi/web-man?command=gettimeofday§ion=2 This commit corrects the type on these targets, which is a breaking change. Due to how this API is commonly used (e.g. passing `ptr::null_mut` to the second argument), breakage should be minimal or non-existent (AFAICT only `time`, `libstd`, and `parking_lot` use this API, and they all should compile after this change). Users wanting to support both versions can just write `ptr as *mut _` instead. Closes #1338. --- On these targets, the signature of `gettimeofday` was correct (the second argument is a `void*`): * macosx: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/gettimeofday.2.html * linux+musl: http://git.musl-libc.org/cgit/musl/tree/include/sys/time.h#n11 * linux+newlib: https://chromium.googlesource.com/native_client/nacl-newlib/+/99fc6c167467b41466ec90e8260e9c49cbe3d13c/newlib/libc/include/sys/time.h#74 * netbsd: http://netbsd.gw.com/cgi-bin/man-cgi?gettimeofday+2.i386+NetBSD-8.0 * newlib: https://github.com/devkitPro/newlib/blob/devkitA64/newlib/libc/include/sys/time.h#L370 * solaris/illumos: https://illumos.org/man/3C/gettimeofday * emscripten: https://chromium.googlesource.com/external/github.com/kripken/emscripten/+/1.35.20/system/include/libc/sys/time.h#11 cc @alexcrichton
-
gnzlbg authored
The second argument of `gettimeofday` was a `*mut c_void` on all targets, but that type is incorrect in the following targets, where it should be a `*mut timezone` instead: On these other targets it appears that the signature of gettimeofday was incorrect (it takes a time-zone pointer instead of a void pointer): linux+gnu: http://man7.org/linux/man-pages/man2/gettimeofday.2.html freebsd: https://www.freebsd.org/cgi/man.cgi?query=gettimeofday&apropos=0&sektion=2&manpath=FreeBSD+11.2-stable&arch=default&format=html openbsd: https://man.openbsd.org/gettimeofday.2 android: https://github.com/ricardoquesada/android-ndk/blob/master/usr/include/sys/time.h dragonfly: https://www.dragonflybsd.org/cgi/web-man?command=gettimeofday§ion=2 This commit corrects the type on these targets, which is a breaking change. Due to how this API is commonly used (e.g. passing `ptr::null_mut` to the second argument), breakage should be minimal. Users wanting to support both versions can just write `ptr as *mut _` instead. Closes #1338.
-
- May 21, 2019
-
-
bors authored
Added MAP_FIXED_NOREPLACE and MAP_SHARED_VALIDATE consts. This addresses #1339 and #1315. I believe the location of the constants is correct as-is, as both flags are linux-specific additions. Let me know if I missed anything.
-
bors authored
linux/musl: Add SEEK_HOLE and SEEK_DATA constants They are defined since Linux 3.1 but not in musl yet. Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Inokentiy Babushkin authored
Because we cannot yet bring a more recent musl to the mips and mipsel architectures, we disable support for these constant until a cascading update with rust-lang/rust has been done.
-
Inokentiy Babushkin authored
This reverts commit 1a1b170a.
-
Inokentiy Babushkin authored
This reverts commit 7b171fb1.
-
Samuel Ortiz authored
They are defined since Linux 3.1 but not in musl yet. Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- May 20, 2019
-
-
Inokentiy Babushkin authored
-
- May 19, 2019
-
-
Inokentiy Babushkin authored
-
Inokentiy Babushkin authored
-
- May 16, 2019
-
-
bors authored
Bump version to 0.2.55 This will bring in support for redox as part of the unix target_family, thus allowing https://github.com/rust-lang/rust/pull/60547 to move forward
-
bors authored
Update to the latest wasi-sysroot. - Rename `wasm32-unknown-wasi` to `wasm32-wasi`. - `__wasilibc_rmfileat` was renamed to `__wasilibc_unlinkat` - Add bindings for a few more functions and typedefs.
-
bors authored
Add futex constants Adding some Futex constants. To be used in `parking_lot`. See https://github.com/faern/parking_lot/pull/1/files#r283110797
-
Linus Färnstrand authored
-
Linus Färnstrand authored
-
Dan Gohman authored
- Rename `wasm32-unknown-wasi` to `wasm32-wasi`. - `__wasilibc_rmfileat` was renamed to `__wasilibc_unlinkat` - Add bindings for a few more functions and typedefs.
-
Jeremy Soller authored
-
bors authored
Improve newlib constants This is necessary to set socket options on the Nintendo Switch, which uses a socket implementation directly ported from FreeBSD. Reopened from #1334 because I accidentally closed that.
-
bors authored
redox: convert to target_family unix This is the first step to supporting https://github.com/rust-lang/rust/issues/60139. In order to have a smooth transition, there will need to be a change made in rust at the same time, switching Redox over to the unix target family. See https://github.com/rust-lang/rust/pull/60547
-
bors authored
Update CI from ubuntu 16.04 (EOL) to 19.04 Closes #1333 .
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
See https://github.com/rust-lang/rust/pull/60775 .
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-