I had another stab, but neither the dev backend or the interpreter backend is working for this for me (for different reasons). Interpreter is same as above, but for the dev backend I actually removed everything to just an empty main.roc, having only main! and the platform.
app [main!] { pf: platform "https://github.com/lukewilliamboswell/roc-platform-template-zig/releases/download/0.6/2BfGn4M9uWJNhDVeMghGeXNVDFijMfPsmmVeo6M4QjKX.tar.zst" }
main! = |_args| {
Ok({})
}
which crashed during roc build myfile.roc --no-cache --backend=dev (renamed from main because I had some weird cache errors in the past where this fixed it)
???:?:?: 0x105487697 in _dev.MonoExprCodeGen.MonoExprCodeGen(.arm64mac).generateMatch__anon_294464 (???)
???:?:?: 0x10533b4ff in _dev.MonoExprCodeGen.MonoExprCodeGen(.arm64mac).generateExprRaw (???)
???:?:?: 0x1051b472b in _dev.MonoExprCodeGen.MonoExprCodeGen(.arm64mac).generateExpr (???)
???:?:?: 0x10548aff7 in _dev.MonoExprCodeGen.MonoExprCodeGen(.arm64mac).generateBlock__anon_294468 (???)
???:?:?: 0x10533b51f in _dev.MonoExprCodeGen.MonoExprCodeGen(.arm64mac).generateExprRaw (???)
???:?:?: 0x1051b472b in _dev.MonoExprCodeGen.MonoExprCodeGen(.arm64mac).generateExpr (???)
???:?:?: 0x10548c607 in _dev.MonoExprCodeGen.MonoExprCodeGen(.arm64mac).compileLambdaAsProc__anon_294478 (???)
???:?:?: 0x10533b573 in _dev.MonoExprCodeGen.MonoExprCodeGen(.arm64mac).generateExprRaw (???)
???:?:?: 0x1051b472b in _dev.MonoExprCodeGen.MonoExprCodeGen(.arm64mac).generateExpr (???)
???:?:?: 0x1053e296b in _dev.MonoExprCodeGen.MonoExprCodeGen(.arm64mac).generateEntrypointWrapper (???)
???:?:?: 0x105281957 in _dev.ObjectFileCompiler.compileWithCodeGen__anon_250959 (???)
???:?:?: 0x1050bb17f in _dev.ObjectFileCompiler.crossCompileDispatch (???)
???:?:?: 0x104e770a7 in _dev.ObjectFileCompiler.ObjectFileCompiler.compileToObjectFile (???)
???:?:?: 0x104bde06f in _dev.ObjectFileCompiler.ObjectFileCompiler.compileToObjectFileAndWrite (???)
???:?:?: 0x104bd273f in _main.rocBuildNative (???)
???:?:?: 0x104bdee97 in _main.rocBuild (???)
???:?:?: 0x104dad557 in _main.mainArgs (???)
???:?:?: 0x104daf247 in _main.main (???)
???:?:?: 0x104daf7a7 in _main (???)
???:?:?: 0x197ee2b97 in ??? (???)
???:?:?: 0x0 in ??? (???)
Are there any other caches I can delete to try again for this? I'll nuke and start again but just so I don't miss anything.
Note the deb backend on main is basically < 1% functioning rn
It's had a very large refactor and is sitting on another branch
That would explain it :sweat_smile: I saw another message about the interpreter backend being deprecated and made the wrong conclusion.
Last updated: Mar 20 2026 at 12:28 UTC