Skip to content
Snippets Groups Projects
Commit caee8565 authored by bors's avatar bors
Browse files

Auto merge of #1077 - jhwgh1968:mips-uclibc, r=alexcrichton

Fix mips-unknown-linux-uclibc target

The mips(el)-unknown-linux-uclibc target has apparently been broken in one way or another for over a year. This PR is the patch it took to successfully build a beta toolchain that could support it.

I am pretty sure these fixes are the right answer, after considerable digging in both the libc crate source (_pub-use pub-use everywhere, and not a hint to link_) and the uClibc source (_it's not POSIX, but they've shipped it since 2007, so close enough_).

For those who don't know, the *-uClibc targets are the only way (AFAIK) to create Rust binaries which run on Linux kernels prior to 2.6. It is a use case that is getting quite rare these days, but is still present in embedded ecosystems where chip vendors never migrated their hardware support to newer kernel versions.

Here's hoping these Rust toolchain targets find a maintainer someday.

cc rust-lang/rust#43503
parents 63eb3b7a 361e4549
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment