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.

@hoodmane hoodmane requested review from a team as code owners October 9, 2024 11:32
@hoodmane hoodmane requested review from ketanhwr and tewaro October 9, 2024 11:33
@hoodmane hoodmane force-pushed the hoodmane/more-pools-refactor branch from 1b8c09a to 153c3b4 Compare October 9, 2024 11:35
@hoodmane hoodmane requested review from danlapid and dom96 October 9, 2024 11:36
Copy link
Contributor

@tewaro tewaro left a comment

Choose a reason for hiding this comment

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

LGTM

@hoodmane hoodmane force-pushed the hoodmane/more-pools-refactor branch from 153c3b4 to 3d225ea Compare October 10, 2024 09:26
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 force-pushed the hoodmane/more-pools-refactor branch from 3d225ea to d173557 Compare October 10, 2024 10:05
@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