rustc: Update LLVM, remove dead wasm code

This commit updates the LLVM branch to the rebased version of the
upstream release/8.x branch. This includes a wasm patch which means that
the `rewrite_imports` pass in rustc is no longer needed (yay!) and we
can instead rely on `wasm-import-module`, an attribute we're already
emitting, to take care of all the work.
This commit is contained in:
Alex Crichton
2019-02-12 10:20:34 -08:00
parent da573206f8
commit c196097e58
5 changed files with 2 additions and 152 deletions

View File

@@ -698,7 +698,6 @@ fn link_natively(sess: &Session,
}
if sess.opts.target_triple.triple() == "wasm32-unknown-unknown" {
wasm::rewrite_imports(&out_filename, &codegen_results.crate_info.wasm_imports);
wasm::add_producer_section(
&out_filename,
&sess.edition().to_string(),