rust/mk
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
..
cfg Auto merge of #36024 - japaric:mips64, r=alexcrichton 2016-09-02 03:01:48 -07:00
clean.mk
crates.mk Move flock.rs from librustdoc to librustc_data_structures. 2016-08-29 14:27:40 -04:00
ctags.mk Add TAGS.rustc.emacs/TAGS.rustc.vi make targets, (re-)including rustc source. 2016-04-28 15:01:47 +02:00
debuggers.mk Distribute both rust-lldb and rust-gdb everywhere except win-msvc 2016-05-06 03:09:48 +00:00
dist.mk Produce source package in rust-installer format in addition to vanilla tarball 2016-08-12 18:13:18 +01:00
docs.mk Also remove build steps for style 2016-08-25 15:22:57 -04:00
grammar.mk
host.mk
install.mk
llvm.mk llvm: allow cleaning LLVM's Visual Studio builds 2016-07-07 21:10:18 -04:00
main.mk build llvm with systemz backend enabled, and link to related libraries 2016-08-28 13:18:28 -05:00
platform.mk [LLVM-3.9] Pass correct relocation model flag 2016-07-29 10:29:44 +02:00
prepare.mk
reconfig.mk mk: Bootstrap from stable instead of snapshots 2016-04-19 10:56:49 -07:00
rt.mk Fix build of compiler-rt on FreeBSD 2016-07-24 04:48:26 +00:00
rustllvm.mk Merge branch 'master' into issue-30961 2016-08-06 15:50:48 +10:00
stage0.mk mk: If local-rust is the same as the current version, then force a local-rebuild 2016-07-15 19:37:15 +02:00
target.mk mk: Fix bootstrapping cross-hosts on beta 2016-05-23 22:21:21 -07:00
tests.mk add mir optimization tests, dump-mir-dir option 2016-07-20 19:41:39 -07:00
util.mk