mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Resume caching Bool, Dict, and Set
This commit is contained in:
parent
6e5de0d0a9
commit
b8cbaf6946
1 changed files with 4 additions and 5 deletions
|
@ -182,11 +182,7 @@ fn read_cached_types() -> MutMap<ModuleId, TypeState> {
|
|||
// Wasm seems to re-order definitions between build time and runtime, but only in release mode.
|
||||
// That is very strange, but we can solve it separately
|
||||
if !cfg!(target_family = "wasm") && !cfg!(windows) && !SKIP_SUBS_CACHE {
|
||||
// TODO: temporarily disable subs caching for the following modules until we have ability-store
|
||||
// caching.
|
||||
// output.insert(ModuleId::BOOL, deserialize_help(BOOL));
|
||||
// output.insert(ModuleId::DICT, deserialize_help(DICT));
|
||||
// output.insert(ModuleId::SET, deserialize_help(SET));
|
||||
output.insert(ModuleId::BOOL, deserialize_help(BOOL));
|
||||
|
||||
output.insert(ModuleId::RESULT, deserialize_help(RESULT));
|
||||
output.insert(ModuleId::NUM, deserialize_help(NUM));
|
||||
|
@ -195,6 +191,9 @@ fn read_cached_types() -> MutMap<ModuleId, TypeState> {
|
|||
output.insert(ModuleId::STR, deserialize_help(STR));
|
||||
output.insert(ModuleId::BOX, deserialize_help(BOX));
|
||||
|
||||
output.insert(ModuleId::DICT, deserialize_help(DICT));
|
||||
output.insert(ModuleId::SET, deserialize_help(SET));
|
||||
|
||||
output.insert(ModuleId::ENCODE, deserialize_help(ENCODE));
|
||||
output.insert(ModuleId::DECODE, deserialize_help(DECODE));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue