-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(playdate support) delimcc.c is compiled even if Continuations isn't used #3885
Comments
Won't argue that but if you look how #if defined(SCALANATIVE_COMPILE_ALWAYS) || defined(__SCALANATIVE_POSIX_PTHREAD)
#include <pthread.h>
Our glue code So if that Scala code is optimized away then no define. |
right, there's a lot of this pattern in the codebase, and it seems to work correctly for my needs most of the time - the only offender I've found so far is delimcc. |
That is not really the one you want to use because that is for the glue code. I put a note on this issue which might be better. |
The |
To reproduce:
Output:
Example app setup (requires a publish of
0.5.1-SNAPSHOT
): https://github.com/kubukoz/demos/compare/sn-continuations-repro?expand=1The text was updated successfully, but these errors were encountered: