Skip to content

Various small changes#1023

Closed
Thomasdezeeuw wants to merge 3 commits intotokio-rs:masterfrom
Thomasdezeeuw:work
Closed

Various small changes#1023
Thomasdezeeuw wants to merge 3 commits intotokio-rs:masterfrom
Thomasdezeeuw:work

Conversation

@Thomasdezeeuw
Copy link
Collaborator

No description provided.

@carllerche
Copy link
Member

I’d like to hold off on the length field for now unless there is a compelling use case for it and we decide that it can be supported by all platforms.

The main issue with a length field is that it would prevent lazily filtering out internal events if platforms need it.

The raw pointer cast is fine.

@Thomasdezeeuw
Copy link
Collaborator Author

Seems reasonable. As #893 already includes changing the transmute to a pointer cast, I'm closing this.

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

Successfully merging this pull request may close these issues.

2 participants