mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Fix --release warnings
This commit is contained in:
parent
262b2fd24e
commit
9bc1e320dc
6 changed files with 70 additions and 37 deletions
|
@ -28,7 +28,11 @@ pub fn func_name_bytes(proc: &Proc) -> [u8; SIZE] {
|
|||
|
||||
#[inline(always)]
|
||||
fn debug() -> bool {
|
||||
use roc_debug_flags::{dbg_do, ROC_DEBUG_ALIAS_ANALYSIS};
|
||||
use roc_debug_flags::dbg_do;
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
use roc_debug_flags::ROC_DEBUG_ALIAS_ANALYSIS;
|
||||
|
||||
dbg_do!(ROC_DEBUG_ALIAS_ANALYSIS, {
|
||||
return true;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue