- Sep 10, 2018
-
-
Johannes Lundberg authored
-
Johannes Lundberg authored
-
- Sep 09, 2018
-
-
bors authored
Fix mips-unknown-linux-uclibc target The mips(el)-unknown-linux-uclibc target has apparently been broken in one way or another for over a year. This PR is the patch it took to successfully build a beta toolchain that could support it. I am pretty sure these fixes are the right answer, after considerable digging in both the libc crate source (_pub-use pub-use everywhere, and not a hint to link_) and the uClibc source (_it's not POSIX, but they've shipped it since 2007, so close enough_). For those who don't know, the *-uClibc targets are the only way (AFAIK) to create Rust binaries which run on Linux kernels prior to 2.6. It is a use case that is getting quite rare these days, but is still present in embedded ecosystems where chip vendors never migrated their hardware support to newer kernel versions. Here's hoping these Rust toolchain targets find a maintainer someday. cc rust-lang/rust#43503
-
bors authored
Add a couple more ELF types
-
- Sep 08, 2018
-
-
jhwgh1968 authored
-
jhwgh1968 authored
-
Steven Fackler authored
-
- 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
-