rust/src/libstd
bors 689c6c48ec Auto merge of #36024 - japaric:mips64, r=alexcrichton
add mips64-gnu and mips64el-gnu targets

With this commit one can build no_core (and probably no_std as well)
Rust programs for these targets. It's not yet possible to cross compile
std for these targets because rust-lang/libc doesn't know about the
mips64 architecture.

These targets have been tested by cross compiling the "smallest hello"
program (see code below) and then running it under QEMU.

``` rust

extern {
    fn puts(_: *const u8);
}

fn start(_: isize, _: *const *const u8) -> isize {
    unsafe {
        let msg = b"Hello, world!\0";
        puts(msg as *const _ as *const u8);
    }
    0
}

trait Copy {}

trait Sized {}
```

cc #36015
r? @alexcrichton
cc @brson

The cabi stuff is likely wrong. I just copied cabi_mips source and changed some `4`s to `8`s and `32`s to `64`s. It was enough to get libc's `puts` to work but I'd like someone familiar with this module to check it.
2016-09-02 03:01:48 -07:00
..
collections Auto merge of #35906 - jseyfried:local_prelude, r=eddyb 2016-08-25 20:45:32 -07:00
ffi Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
io Rollup merge of #35911 - tbu-:pr_io_errorkind_traits, r=alexcrichton 2016-08-31 13:53:33 -07:00
net doc: make TcpListener example more simple 2016-08-30 06:42:56 +02:00
num Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
os fix cross compilation of std 2016-08-27 01:40:29 -05:00
prelude
rand
sync Auto merge of #35048 - tmiasko:monotonic-wait-timeout, r=alexcrichton 2016-08-30 16:28:32 -07:00
sys Auto merge of #35048 - tmiasko:monotonic-wait-timeout, r=alexcrichton 2016-08-30 16:28:32 -07:00
thread Rollup merge of #35997 - matthew-piziak:thread-current-example, r=GuillaumeGomez 2016-08-30 10:39:07 +02:00
time
ascii.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
build.rs
Cargo.toml
env.rs Auto merge of #36024 - japaric:mips64, r=alexcrichton 2016-09-02 03:01:48 -07:00
error.rs Implement TryFrom<u32> for char 2016-08-29 17:34:02 +02:00
fs.rs Rollup merge of #35786 - GuillaumeGomez:paths_doc, r=steveklabnik 2016-08-31 13:53:33 -07:00
lib.rs Auto merge of #35906 - jseyfried:local_prelude, r=eddyb 2016-08-25 20:45:32 -07:00
macros.rs
memchr.rs memrchr: Use a conditional instead of subtracting a complicated min 2016-08-24 21:41:23 +02:00
panic.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
panicking.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
path.rs Rollup merge of #35786 - GuillaumeGomez:paths_doc, r=steveklabnik 2016-08-31 13:53:33 -07:00
primitive_docs.rs
process.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
rt.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
rtdeps.rs