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

bug: use singleThread for Bun #114

Open
erhant opened this issue Feb 28, 2025 · 0 comments
Open

bug: use singleThread for Bun #114

erhant opened this issue Feb 28, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@erhant
Copy link
Owner

erhant commented Feb 28, 2025

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";
}
@erhant erhant added the bug Something isn't working label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant