Move EncodedMetadata to rustc_metadata.
This commit is contained in:
parent
df54d3980b
commit
b244b98e7c
17 changed files with 39 additions and 32 deletions
|
@ -327,7 +327,7 @@ fn link_rlib<'a, B: ArchiveBuilder<'a>>(
|
|||
// metadata in rlib files is wrapped in a "dummy" object file for
|
||||
// the target platform so the rlib can be processed entirely by
|
||||
// normal linkers for the platform.
|
||||
let metadata = create_metadata_file(sess, &codegen_results.metadata.raw_data);
|
||||
let metadata = create_metadata_file(sess, codegen_results.metadata.raw_data());
|
||||
ab.add_file(&emit_metadata(sess, &metadata, tmpdir));
|
||||
|
||||
// After adding all files to the archive, we need to update the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue