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

Marker bounds (Send, Sync, etc.) for containers #18

Open
h33p opened this issue Jul 30, 2024 · 0 comments
Open

Marker bounds (Send, Sync, etc.) for containers #18

h33p opened this issue Jul 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@h33p
Copy link
Owner

h33p commented Jul 30, 2024

Currently Opaquable trait is error prone, because it may allow !Send type to be opaqued down to a Send box. This is an equivalent of a soundness hole.

@h33p h33p added the bug Something isn't working label Jul 30, 2024
h33p added a commit that referenced this issue Jul 30, 2024
Prevent `CBox` from being opaquable if it isn't `Send`. This effectively
works around #18, albeit does not solve it. This will prevent `!Send`
futures from being turned into CGlue's opaque, `CBox: Send`.
h33p added a commit that referenced this issue Jul 31, 2024
Prevent `CBox` from being opaquable if it isn't `Send`. This effectively
works around #18, albeit does not solve it. This will prevent `!Send`
futures from being turned into CGlue's opaque, `CBox: Send`.
h33p added a commit that referenced this issue Jul 31, 2024
Prevent `CBox` from being opaquable if it isn't `Send`. This effectively
works around #18, albeit does not solve it. This will prevent `!Send`
futures from being turned into CGlue's opaque, `CBox: Send`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant