-
Notifications
You must be signed in to change notification settings - Fork 51
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
Support #[ctor] on wasm target #14
Comments
Ah, seems to be blocked on rustwasm/wasm-bindgen#1216. If you prefer, feel free to close for now and I can follow up later when the necessary functionality has landed in wasm-bindgen. |
I'll leave this one open for now as a tracking issue. Thanks for filing it. |
I'm working on landing support for this in |
Sorry. I am no longer working on |
Closing as I would no longer plan to use this in the typetag crate, which was the original motivation. |
I don't know for sure that this is possible, but it seems likely because C++ compiled to wasm would need to support static initializers somehow.
I would love to use this for typetag -- see dtolnay/typetag#8 for a failing repro that shows ctor functions not being invoked.
@cwhakes may be able to help with the implementation or testing.
The text was updated successfully, but these errors were encountered: