mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Fix release errors
This commit is contained in:
parent
d13b556295
commit
66e65714b9
2 changed files with 6 additions and 4 deletions
|
@ -2669,7 +2669,7 @@ fn update<'a>(
|
|||
ident_ids,
|
||||
subs,
|
||||
module_timing,
|
||||
layout_cache,
|
||||
layout_cache: _layout_cache,
|
||||
procs_base: _,
|
||||
},
|
||||
) in state.module_cache.late_specializations.drain()
|
||||
|
@ -2680,8 +2680,9 @@ fn update<'a>(
|
|||
}
|
||||
state.timings.insert(module_id, module_timing);
|
||||
|
||||
if cfg!(debug_assertions) {
|
||||
log_layout_stats(module_id, &layout_cache);
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
log_layout_stats(module_id, &_layout_cache);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -88,7 +88,8 @@ pub struct CacheStatistics {
|
|||
|
||||
macro_rules! inc_stat {
|
||||
($stats:expr, $field:ident) => {
|
||||
if cfg!(debug_assertions) {
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
$stats.$field += 1;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue