Here's what I got so far. It still does not successfully build and many of the changes are ugly hacks and not proper fixes, a rough draft if you will.
The same rustc issue triggered by glean is also triggered by third_party/rust/naga, which seems more tightly integrated.

third_party/rust/mtu/src/bsd.rs is especially bad and we should probably add a distinct hurd.rs instead