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

More refactoring to enable Python pools #2869

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

hoodmane
Copy link
Contributor

@hoodmane hoodmane commented Oct 9, 2024

We won't be able to import UnsafeEval directly from builtin_wrappers.ts so this adds a setUnsafeEval function to inject it from the outside.

Copy link
Contributor

@AdityaAtulTewari AdityaAtulTewari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

We won't be able to import `UnsafeEval` directly from `builtin_wrappers.ts` so
this adds a `setUnsafeEval` function to inject it from the outside.

Similarly, we need everything imported from emscriptenSetup.ts to be bundled, so
we don't want to import from topLevelEntropy in builtin_wrappers, so we call
`setGetRandomValues` from the outside.
@hoodmane hoodmane merged commit e6f45b2 into main Oct 10, 2024
13 checks passed
@hoodmane hoodmane deleted the hoodmane/more-pools-refactor branch October 10, 2024 10:35
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

Successfully merging this pull request may close these issues.

2 participants