- May 22, 2019
-
-
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 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
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-
gnzlbg authored
-