- Sep 13, 2018
-
-
Tobias Bucher authored
-
- Sep 12, 2018
-
-
Tobias Bucher authored
-
- Sep 05, 2018
-
-
Tobias Bucher authored
There are none of them in `libc` except for `__progname` on Android, but that one cannot be tested because it's not present in any header files.
-
- Sep 03, 2018
-
-
bors authored
Add some more elf types
-
Steven Fackler authored
-
- Sep 02, 2018
-
-
bors authored
Add mallopt First time contributor. Thanks for the excellent contributing guide. I'm not quite sure I put the method in the right place. [The GNULib docs](https://www.gnu.org/software/gnulib/manual/html_node/mallopt.html) say its not on Android 7.1, but there are [mentions of it in some android headers](https://android.googlesource.com/platform/bionic/+/master/libc/include/malloc.h).
-
Josh Hejna authored
-
Josh Hejna authored
-
- Aug 24, 2018
-
-
bors authored
Add additional Redox OS functions This adds `chown`, `fchown`, `setenv`, and `unsetenv` to the `redox` module, and reorders the functions by name
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Alex Crichton authored
Undo division of in6_addr on Fuchsia
-
Taylor Cramer authored
-
bors authored
sparc64 tests are passing again Closes #1064 .
-
gnzlbg authored
Closes #1064 .
-
- Aug 22, 2018
-
-
bors authored
Fix and cleanup Fuchsia Remove false support for power and mips. Fix aarch64 definitions of nlink_t and blksize_t. r? @alexcrichton cc @sulanov
-
Taylor Cramer authored
Remove false support for power and mips. Fix aarch64 definitions of nlink_t and blksize_t.
-
- Aug 19, 2018
-
-
Jeremy Soller authored
-
- Aug 16, 2018
-
-
bors authored
Add TIOCGWINSZ accessor to solaris module Signed-off-by:
Ian Henry <ihenry@chef.io> I recently noticed downstream that these request values were unavailable and needed for things like [the pb crate](https://github.com/a8m/pb). To get access to the request value I ran the following simple C code: ``` #include <sys/ioctl.h> #include <stdio.h> #include <sys/termios.h> int main(int argc, char **argv) { printf("Code: 0x%04lx\n", TIOCGWINSZ); printf("Code: 0x%04lx\n", TIOCSWINSZ); return 0; } ``` To then validate the change I ran the following simple rust: ``` extern crate libc; use libc::{ioctl, winsize, STDOUT_FILENO, TIOCGWINSZ}; fn main() { let mut wsize = winsize { ws_row: 0, ws_col: 0, ws_xpixel: 0, ws_ypixel: 0, }; unsafe { ioctl(STDOUT_FILENO, TIOCGWINSZ, &mut wsize); } println!("Sizes: {{ rows: {}, cols: {}, xpixel: {}, ypixel: {} }}", wsize.ws_row, wsize.ws_col, wsize.ws_xpixel, wsize.ws_ypixel); } ```
-
Ian Henry authored
Signed-off-by:
Ian Henry <ihenry@chef.io>
-
Alex Crichton authored
-
Alex Crichton authored
-
Alex Crichton authored
NetBSD: correct link_name of some time-related functions
-
Alex Crichton authored
Add exchangedata for osx
-
- Aug 15, 2018
-
-
Jonathan A. Kollasch authored
The futimes(), lutimes(), mq_timedreceive(), and mq_timedsend() functions were linking against legacy library symbols that need 32-bit time_t in structures, resulting in an ABI mismatch with 64-bit time_t.
-
debris authored
-
- Aug 14, 2018
- Aug 13, 2018
-
-
bors authored
Update ctest to 0.2
-
Alex Crichton authored
-
- Aug 11, 2018
-
-
Jeremy Soller authored
-
- Aug 07, 2018
-
-
bors authored
Add libc definitions for Megaton-Hammer, a Switch Homebrew toolchain I'm working on a pure-rust toolchain to write homebrew for the Nintendo Switch called [Megaton-Hammer](http://github.com/megatonhammer/megaton-hammer). I'm hoping to get those definitions upstreamed to simplify my life :). This toolchain does not depend on a C compiler or a libc (it reimplements everything in rust) - but given many crates in the Rust ecosystem rely on the libc crate for the definition of various common types, this is what I came up with. I was wondering what a good target triple would be ? I currently gate the implementation behind `target_os = "switch"`, but if this goes upstream I figure that might cause trouble for people using the Nintendo SDK (they might already be using `target_os = "switch"` for some things). Would it be better to go with `target_env = "megatonhammer"`?
-
bors authored
NetBSD: add basic types for aarch64
-
- Aug 06, 2018
-
-
Jonathan A. Kollasch authored
-
bors authored
NetBSD: correct c_char signedness on arm and powerpc
-
Jonathan A. Kollasch authored
-
Jonathan A. Kollasch authored
-
bors authored
Bump version to 0.2.43 Would be nice to have the new align feature from #1044 available for general use. But mostly I want this released since I have problems using the align feature for a PR on libstd, and I suspect it's somehow because I try to use an unpublished libc (https://github.com/rust-lang/rust/pull/52872).
-
- Aug 05, 2018
-
-
Linus Färnstrand authored
-