[PATCH] rustbuild: fix bad usage of UNIX exec() in rustc wrapper
authorXimin Luo <infinity0@pwned.gg>
Mon, 27 Jul 2020 01:42:02 +0000 (02:42 +0100)
committerXimin Luo <infinity0@debian.org>
Thu, 6 Aug 2020 20:11:39 +0000 (21:11 +0100)
commitf4319bb90d8b7e111f920f1033c3376206d5f1fb
treeaa41d7e304152354141ffdfc73646b7803b4b843
parent726b3d1cecf0bde4144256a8198b1d38782c024b
[PATCH] rustbuild: fix bad usage of UNIX exec() in rustc wrapper

exec never returns, it replaces the current process. so anything after it is
unreachable. that's not how exec_cmd() is used in the surrounding code

Gbp-Pq: Name u-fix-exec.patch
src/bootstrap/bin/rustc.rs