]> git.lizzy.rs Git - rust.git/commit
remove `LinkMeta` from `SharedCrateContext`
authorNiko Matsakis <niko@alum.mit.edu>
Thu, 13 Apr 2017 19:55:48 +0000 (15:55 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Thu, 13 Apr 2017 22:37:47 +0000 (18:37 -0400)
commitf227187cb8ddd76ef93e630adc56eefc09ae7e59
treeff74031063f81a980f3184d2f78f6f3c12221e16
parentc22fdf9a3ac1e316069d55effbfa5c91cc5c0a12
remove `LinkMeta` from `SharedCrateContext`

A number of things were using `crate_hash` that really ought to be using
`crate_disambiguator` (e.g., to create the plugin symbol names). They
have been updated.

It is important to remove `LinkMeta` from `SharedCrateContext` since it
contains a hash of the entire crate, and hence it will change
whenever **anything** changes (which would then require
rebuilding **everything**).
src/librustc/session/mod.rs
src/librustc_metadata/creader.rs
src/librustc_plugin/load.rs
src/librustc_trans/back/symbol_export.rs
src/librustc_trans/back/symbol_names.rs
src/librustc_trans/base.rs
src/librustc_trans/context.rs