-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Publish host builds of mips, mipsel, mips64el for Linux #36015
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
#36024 adds the target definition to the compiler. |
I managed to produce functional rustcs for the mips and mipsel targets. I've sent the required changes to the rust-buildbot repository (rust-lang-deprecated/rust-buildbot#121). |
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.
Just deployed a change for mips/mipsel, we should hopefully have those tomorrow night |
Ok, added mips64 as well, closing. |
Complications last night prevented these nightlies from going out, hopefully tonight though! |
Today we publish target builds for mips and mipsel, and have no support for mips64el. All three of these are or will soon be supported by Debian and Fedora.
cc #36006 (comment)
The text was updated successfully, but these errors were encountered: