]> git.lizzy.rs Git - rust.git/commit
rustc: Disable threads in LLD for wasm
authorAlex Crichton <alex@alexcrichton.com>
Thu, 26 Apr 2018 13:56:37 +0000 (06:56 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 26 Apr 2018 13:56:37 +0000 (06:56 -0700)
commita2a9cc68fe44a4a667dddd01c17b3dcceefb5a5a
tree17f1747ec90e41f2ff839abb026c32458bd10d6c
parent84ce67ef950e962d398ca974e39f0b8d4aa103db
rustc: Disable threads in LLD for wasm

Upstream bug reports (rustwasm/wasm-bindgen#119) show that this may be the
culprit of odd crashes/hangs. The linker is a tiny fraction of build time anyway
right now so let's disable it and figure out how to possibly reenable it later
if necessary.
src/librustc_trans/back/linker.rs