Skip to content

bug: use singleThread for Bun #114

Description

@erhant

here: https://github.com/erhant/circomkit/blob/main/src/core/index.ts#L305 we can add an additional argument that provides { singleThread: true } when we are using Bun.

Bun can be detected with:

export function isBun(): boolean {
  // ignore is required as `Bun` is not defined in Node
  // @ts-ignore
  return typeof Bun !== "undefined";
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions