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
It's quite common to write a enum with tons of variants, but have no idea which one bloats the whole enum size.
They are not always easy to estimate when taking padding and size optimization into count.
The type size can be platform dependent. But we could reuse the setting rust-analyzer.cargo.target and rustc --print cfg for the calculation.
The text was updated successfully, but these errors were encountered:
It's quite common to write a enum with tons of variants, but have no idea which one bloats the whole enum size.
They are not always easy to estimate when taking padding and size optimization into count.
The type size can be platform dependent. But we could reuse the setting
rust-analyzer.cargo.target
andrustc --print cfg
for the calculation.The text was updated successfully, but these errors were encountered: