-
Notifications
You must be signed in to change notification settings - Fork 344
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
Extern "Rust" types that are nonlocal #496
Comments
This is restricted to a local type for now because if multiple bridges reused the same type as an extern Rust type in the same namespace, they ended up colliding on symbols. I expect to relax the restriction again but it needs some design work and I wanted to be slightly more conservative for 1.0. |
Ahh, fair enough, I figured it was something like that. Then I'll just wrap it in a tuple struct. |
Is there an approximate timeframe for relaxing it? I am only asking because if it's likely to work in 2-3 weeks I will keep adding bindings for new types/modules and wait to switch to 1.0+, otherwise it makes sense to switch immediately. |
I had a chance to think about this today and I think here's what we'll do:
|
What is the solution to this today? Seems like using |
The following worked prior to 1.0:
However, now I just get a
Is it possible to make this work again or should I wrap my Rc in a tuple struct?
The text was updated successfully, but these errors were encountered: