]> git.lizzy.rs Git - rust.git/commit
rustc: Spawn `cmd /c emcc.bat` explicitly
authorAlex Crichton <alex@alexcrichton.com>
Wed, 13 Sep 2017 14:41:58 +0000 (07:41 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 13 Sep 2017 14:41:58 +0000 (07:41 -0700)
commit5cad39163132de69512c770ed06e5432641f2c2d
tree06c085f1427932f5bf8ca4857d5902830d5e995a
parent824952f48b85806c498d700f183dfc42b516cc7d
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
src/librustc_trans/back/link.rs