Described in #1722, on the windows build (at least) rustc has been hanging when various sub-utilities (like rm) are not available on the PATH.