]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #44542 - alexcrichton:fix-windows-emscripten, r=nikomatsakis
authorAlex Crichton <alex@alexcrichton.com>
Sat, 16 Sep 2017 14:16:51 +0000 (09:16 -0500)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 17 Sep 2017 00:09:39 +0000 (17:09 -0700)
rustc: Spawn `cmd /c emcc.bat` explicitly

In #42436 the behavior for spawning processes on Windows was tweaked slightly to
fix various bugs, but this caused #42791 as a regression, namely that to spawn
batch scripts they need to be manually spawned with `cmd /c` instead now. This
updates the compiler to handle this case explicitly for Emscripten.

Closes #42791


Trivial merge