bring expectation info to the running code

This commit is contained in:
Folkert 2022-07-13 15:32:02 +02:00
parent 7b8c73325f
commit 9d0e3e42d3
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 42 additions and 8 deletions

View file

@ -631,6 +631,7 @@ pub struct MonomorphizedModule<'a> {
pub exposed_to_host: ExposedToHost,
pub sources: MutMap<ModuleId, (PathBuf, Box<str>)>,
pub timings: MutMap<ModuleId, ModuleTiming>,
pub expectations: VecMap<ModuleId, Expectations>,
}
#[derive(Debug)]
@ -2735,6 +2736,7 @@ fn finish_specialization(
sources,
timings: state.timings,
toplevel_expects,
expectations: VecMap::default(),
})
}