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

LLRT Modules static will not work with multiple runtimes #503

Open
Sytten opened this issue Jul 29, 2024 · 0 comments
Open

LLRT Modules static will not work with multiple runtimes #503

Sytten opened this issue Jul 29, 2024 · 0 comments

Comments

@Sytten
Copy link
Contributor

Sytten commented Jul 29, 2024

I realized that those static are very much global, so in my case I spawn a lot of different runtimes so they will conflict with each other.
I opened DelSkayn/rquickjs#342 to discuss if we could add something to the rquickjs runtime to store those. Otherwise I would do an opaque rust class with a Box<dyn Any> inside to store then in quickjs directly.

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

No branches or pull requests

1 participant