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

Change BindingPluginOptions to BindingPluginOptions<const WEAK> #1003

Open
hyf0 opened this issue Apr 29, 2024 · 0 comments
Open

Change BindingPluginOptions to BindingPluginOptions<const WEAK> #1003

hyf0 opened this issue Apr 29, 2024 · 0 comments
Labels

Comments

@hyf0
Copy link
Member

hyf0 commented Apr 29, 2024

          I looked into it. The current workaround would be use different struct for main and worker threads. Making NAPI-RS supporting generic could reduce the maintain overhead. @Brooooooklyn

Originally posted by @hyf0 in #985 (comment)


This issue is currently blocked by macros of NAPI-RS doesn't support struct with generics. We encourage contributors to have experiences of writting proc macros to help of NAPI-RS: napi-rs/napi-rs#2071

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant