Don't create subprocesses for the `rust` command

Instead link against the built libraries and directly invoke those.
auto merge of #6438 : alexcrichton/rust/issue-5387, r=thestinger

Instead link against the built libraries and directly invoke those.

Closes #5387