Closed jinyus closed 10 months ago
I am pretty sure this line is to blame: https://github.com/aardappel/lobster/blob/master/dev/src/compiler.cpp#L522
Such that if you changed that 2nd arg, or just a md src
in your script, you'd end up with the output file there.
I can't test that right now though.. gotta think what the proper solution is.. will try later.
You're right, a bit hacky but I got it working.
@jinyus I just fixed the reliance on src
being hardcoded. If you get latest, it should output the output file to the same dir the source was in instead
Works in JIT mode but fails when compiled.
Test repo: https://github.com/jinyus/lobster_io_demo
Code
Output
How to reproduce