With the release of Rust 1.29.0, a few Mozilla ports require a patch to handle the new output format of rustc --print target-list.
The problem is already known upstream and is tracked in the following report:
https://bugzilla.mozilla.org/show_bug.cgi?id=1479540
This patch to several ports simply adds the fix, taken from upstream.