Skip to content

Respect run optimization mode#9698

Merged
rtfeldman merged 10 commits into
mainfrom
fix-run-opt-build-exec-9694
Jun 19, 2026
Merged

Respect run optimization mode#9698
rtfeldman merged 10 commits into
mainfrom
fix-run-opt-build-exec-9694

Conversation

@rtfeldman

Copy link
Copy Markdown
Contributor

roc <file> now respects the parsed run optimization mode instead of always taking the shared-memory LIR interpreter path. Non-interpreter run modes build a host-runnable executable into a temporary directory, execute it with the app arguments, clean it up, and preserve Roc's warning exit-code behavior after the child succeeds. Explicit --opt=interpreter keeps the existing interpreter IPC path.

Closes #9694

@rtfeldman rtfeldman marked this pull request as ready for review June 18, 2026 15:29
@rtfeldman rtfeldman merged commit ea1b0c0 into main Jun 19, 2026
41 checks passed
@rtfeldman rtfeldman deleted the fix-run-opt-build-exec-9694 branch June 19, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

roc run --opt=dev/speed does not select dev or LLVM backends

1 participant