Debug assert needed specializations are empty after leaving mono

This commit is contained in:
Ayaz Hafiz 2022-05-05 11:13:09 -04:00
parent 19e8b37402
commit a1eb65b169
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -2156,6 +2156,12 @@ pub fn specialize_all<'a>(
specialize_host_specializations(env, &mut procs, layout_cache, specializations_for_host);
debug_assert!(
procs.needed_symbol_specializations.is_empty(),
"{:?}",
&procs.needed_symbol_specializations
);
procs
}