]> git.lizzy.rs Git - rust.git/commit
Move metadata writing earlier.
authorNicholas Nethercote <nnethercote@mozilla.com>
Tue, 30 Apr 2019 05:53:30 +0000 (15:53 +1000)
committerNicholas Nethercote <nnethercote@mozilla.com>
Wed, 1 May 2019 07:17:13 +0000 (17:17 +1000)
commit38dffeba21842adc9deb647b30f3a4a00abca133
treec268cb996b85b68e4519d7aea48f8f7322b1f53d
parent3da5d4a87e4fd3a96cf7e962211c875fe50650d4
Move metadata writing earlier.

The commit moves metadata writing from `link_binary` to
`encode_metadata` (and renames the latter as
`encode_and_write_metadata`). This is at the very start of code
generation.
Cargo.lock
src/librustc_codegen_ssa/back/link.rs
src/librustc_interface/Cargo.toml
src/librustc_interface/passes.rs