Skip to content

Parallel task compilation fails for nim >= 2.0.0 #201

Open
@lilkeet

Description

@lilkeet

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.}'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions