mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
use Normal optlevel in debug builds
This commit is contained in:
parent
db63382f68
commit
ddde5694ec
1 changed files with 1 additions and 2 deletions
|
@ -265,8 +265,7 @@ pub fn helper<'a>(
|
||||||
let target = target_lexicon::Triple::host();
|
let target = target_lexicon::Triple::host();
|
||||||
|
|
||||||
let opt_level = if cfg!(debug_assertions) {
|
let opt_level = if cfg!(debug_assertions) {
|
||||||
// OptLevel::Normal
|
OptLevel::Normal
|
||||||
OptLevel::Optimize
|
|
||||||
} else {
|
} else {
|
||||||
OptLevel::Optimize
|
OptLevel::Optimize
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue