Auto merge of #85910 - cjgillot:no-meta-version, r=Aaron1011
Drop metadata_encoding_version. Part of #85153 r? `@Aaron1011`
This commit is contained in:
commit
1639a16ebf
10 changed files with 9 additions and 13 deletions
|
@ -215,7 +215,6 @@ pub trait CrateStore {
|
|||
|
||||
// utility functions
|
||||
fn encode_metadata(&self, tcx: TyCtxt<'_>) -> EncodedMetadata;
|
||||
fn metadata_encoding_version(&self) -> &[u8];
|
||||
fn allocator_kind(&self) -> Option<AllocatorKind>;
|
||||
}
|
||||
|
||||
|
|
|
@ -1288,10 +1288,6 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||
)
|
||||
}
|
||||
|
||||
pub fn metadata_encoding_version(self) -> Vec<u8> {
|
||||
self.cstore.metadata_encoding_version().to_vec()
|
||||
}
|
||||
|
||||
pub fn encode_metadata(self) -> EncodedMetadata {
|
||||
let _prof_timer = self.prof.verbose_generic_activity("generate_crate_metadata");
|
||||
self.cstore.encode_metadata(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue