Skip to content
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

Parallel task compilation fails for nim >= 2.0.0 #201

Open
lilkeet opened this issue Nov 8, 2024 · 0 comments
Open

Parallel task compilation fails for nim >= 2.0.0 #201

lilkeet opened this issue Nov 8, 2024 · 0 comments

Comments

@lilkeet
Copy link

lilkeet commented Nov 8, 2024

Compiling the task parallelism example in the readme with any version of nim over 2 results in this compilation error:

/path/to/.nimble/pkgs/weave-0.4.10/weave/parallel_tasks.nim(171, 16) Error: type mismatch: got 'proc (param`gensym2: pointer){.nimcall.}' for 'async_fib' but expected 'proc (param: pointer){.nimcall, gcsafe.}'
  Pragma mismatch: got '{..}', but expected '{.gcsafe.}'.
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

No branches or pull requests

1 participant