rust/mk/cfg
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
..
aarch64-apple-ios.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
aarch64-linux-android.mk
aarch64-unknown-linux-gnu.mk
arm-linux-androideabi.mk
arm-unknown-linux-gnueabi.mk
arm-unknown-linux-gnueabihf.mk
arm-unknown-linux-musleabi.mk arm-unknown-linux-musleabi updates for ARMv6 2016-08-06 13:45:28 -05:00
arm-unknown-linux-musleabihf.mk Add ARM MUSL targets. 2016-07-30 15:39:13 -05:00
armv7-apple-ios.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
armv7-linux-androideabi.mk Add armv7-linux-androideabi target. 2016-05-07 13:29:57 +03:00
armv7-unknown-linux-gnueabihf.mk
armv7-unknown-linux-musleabihf.mk Add ARM MUSL targets. 2016-07-30 15:39:13 -05:00
armv7s-apple-ios.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
asmjs-unknown-emscripten.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
i386-apple-ios.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
i586-pc-windows-msvc.mk test: Move run-make tests into compiletest 2016-04-28 21:46:40 -07:00
i586-unknown-linux-gnu.mk add -mrelax-relocations=no to i686-musl and i586-gnu 2016-08-10 14:35:09 -05:00
i686-apple-darwin.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
i686-linux-android.mk
i686-pc-windows-gnu.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
i686-pc-windows-msvc.mk test: Move run-make tests into compiletest 2016-04-28 21:46:40 -07:00
i686-unknown-freebsd.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
i686-unknown-linux-gnu.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
i686-unknown-linux-musl.mk add -mrelax-relocations=no to i686-musl and i586-gnu 2016-08-10 14:35:09 -05:00
le32-unknown-nacl.mk
mips64-unknown-linux-gnuabi64.mk add mips64-gnu and mips64el-gnu targets 2016-08-26 17:17:03 -05:00
mips64el-unknown-linux-gnuabi64.mk add mips64-gnu and mips64el-gnu targets 2016-08-26 17:17:03 -05:00
mips-unknown-linux-gnu.mk mk: Don't pass -msoft-float on mips-gnu 2016-07-15 13:46:09 -07:00
mips-unknown-linux-musl.mk
mips-unknown-linux-uclibc.mk add mips-uclibc targets 2016-08-16 17:12:51 -05:00
mipsel-unknown-linux-gnu.mk
mipsel-unknown-linux-musl.mk
mipsel-unknown-linux-uclibc.mk add mips-uclibc targets 2016-08-16 17:12:51 -05:00
powerpc64-unknown-linux-gnu.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
powerpc64le-unknown-linux-gnu.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
powerpc-unknown-linux-gnu.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
s390x-unknown-linux-gnu.mk initial support for s390x 2016-08-26 21:05:50 -05:00
x86_64-apple-darwin.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
x86_64-apple-ios.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
x86_64-pc-windows-gnu.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
x86_64-pc-windows-msvc.mk test: Move run-make tests into compiletest 2016-04-28 21:46:40 -07:00
x86_64-rumprun-netbsd.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
x86_64-sun-solaris.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
x86_64-unknown-bitrig.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
x86_64-unknown-dragonfly.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
x86_64-unknown-freebsd.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
x86_64-unknown-linux-gnu.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
x86_64-unknown-linux-musl.mk Add -mrelax-relocations=no hacks to fix musl build 2016-08-01 23:42:15 -07:00
x86_64-unknown-netbsd.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00
x86_64-unknown-openbsd.mk mk: Remove -Wall -Werror everywhere 2016-07-19 00:04:47 -07:00