689c6c48ec
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. |
||
---|---|---|
.. | ||
aarch64-apple-ios.mk | ||
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-musleabihf.mk | ||
armv7-apple-ios.mk | ||
armv7-linux-androideabi.mk | ||
armv7-unknown-linux-gnueabihf.mk | ||
armv7-unknown-linux-musleabihf.mk | ||
armv7s-apple-ios.mk | ||
asmjs-unknown-emscripten.mk | ||
i386-apple-ios.mk | ||
i586-pc-windows-msvc.mk | ||
i586-unknown-linux-gnu.mk | ||
i686-apple-darwin.mk | ||
i686-linux-android.mk | ||
i686-pc-windows-gnu.mk | ||
i686-pc-windows-msvc.mk | ||
i686-unknown-freebsd.mk | ||
i686-unknown-linux-gnu.mk | ||
i686-unknown-linux-musl.mk | ||
le32-unknown-nacl.mk | ||
mips64-unknown-linux-gnuabi64.mk | ||
mips64el-unknown-linux-gnuabi64.mk | ||
mips-unknown-linux-gnu.mk | ||
mips-unknown-linux-musl.mk | ||
mips-unknown-linux-uclibc.mk | ||
mipsel-unknown-linux-gnu.mk | ||
mipsel-unknown-linux-musl.mk | ||
mipsel-unknown-linux-uclibc.mk | ||
powerpc64-unknown-linux-gnu.mk | ||
powerpc64le-unknown-linux-gnu.mk | ||
powerpc-unknown-linux-gnu.mk | ||
s390x-unknown-linux-gnu.mk | ||
x86_64-apple-darwin.mk | ||
x86_64-apple-ios.mk | ||
x86_64-pc-windows-gnu.mk | ||
x86_64-pc-windows-msvc.mk | ||
x86_64-rumprun-netbsd.mk | ||
x86_64-sun-solaris.mk | ||
x86_64-unknown-bitrig.mk | ||
x86_64-unknown-dragonfly.mk | ||
x86_64-unknown-freebsd.mk | ||
x86_64-unknown-linux-gnu.mk | ||
x86_64-unknown-linux-musl.mk | ||
x86_64-unknown-netbsd.mk | ||
x86_64-unknown-openbsd.mk |