add Send to the argument type of encode_metadata
This commit is contained in:
parent
1be58056e1
commit
aa8e06458e
@ -2189,7 +2189,7 @@ impl<D: Decoder> Decodable<D> for EncodedMetadata {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn encode_metadata(tcx: TyCtxt<'_>, path: impl AsRef<Path>) {
|
||||
pub fn encode_metadata(tcx: TyCtxt<'_>, path: impl AsRef<Path> + Send) {
|
||||
let _prof_timer = tcx.prof.verbose_generic_activity("generate_crate_metadata");
|
||||
|
||||
// Since encoding metadata is not in a query, and nothing is cached,
|
||||
|
Loading…
x
Reference in New Issue
Block a user