Skip to content

Commit 56186c2

Browse files
authored
use opt_level: 2 to support mac verification. (#738)
- solve: runtimeverification/solana-token#3
1 parent 54bcf07 commit 56186c2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

kmir/src/kmir/kdist/plugin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def _default_args(src_dir: Path) -> dict[str, Any]:
5454
'main_file': src_dir / 'mir-semantics/kmir.md',
5555
'backend': PykBackend.LLVM,
5656
'md_selector': 'k & ! symbolic',
57+
'opt_level': 2,
5758
**_default_args(src_dir),
5859
},
5960
),
@@ -63,6 +64,7 @@ def _default_args(src_dir: Path) -> dict[str, Any]:
6364
'backend': PykBackend.LLVM,
6465
'llvm_kompile_type': LLVMKompileType.C,
6566
'md_selector': 'k & ! symbolic',
67+
'opt_level': 2,
6668
**_default_args(src_dir),
6769
},
6870
),

0 commit comments

Comments
 (0)