nairby
MModular
•Created by nairby on 10/1/2024 in #questions
Is there something I’m not understanding about the Mojo memory model?
I hope this is an easy question and someone will know the obvious thing I'm doing wrong. I have this minimal example code that demonstrates an issue I’m having.
main.mojo
:
command_line_mod.mojo
:
If I build and run this with mojo build main.mojo; ./main
I get a segmentation fault. Why?17 replies