You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't mind working on this. We can guess the sizes of rust types based on some predefined size and alignment and #[cfg] for pointer sizes. A large enough threshold is enough to not be problematic as boxing a nested message will reduce the size of the field to just the pointer size, freeing up a lot of space to go under the threshold for the current message.
https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
currently, we can box a variant manually. It would be good to automatically box based on size, or just all variants
The text was updated successfully, but these errors were encountered: