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
{{ message }}
Repository navigation
Derive Debug is not generated for structs with large array fields (len() > 32) (need to add new rustc target) #1977
changed the title [-]Derive `Debug` is not generated for structs with large array fields (len() > 32)[/-][+]Derive `Debug` is not generated for structs with large array fields (len() > 32) (need to add new rustc target)[/+]on Jan 29, 2021
I've already done the first part, I'll try to get to the latter soon or post a WIP PR with some notes if I don't find the time to finish it (or somebody else is eager to work on this 🙂).
Activity
jplatte commentedon Jan 26, 2021
Arrays with more than 32 elements only implement
Debugsince 1.47.jplatte commentedon Jan 26, 2021
The latest
--rust-targetsupported being1.47apart fromnightly, I guess this won't be supported even with--rust-target nightly.emilio commentedon Jan 29, 2021
If Rust supports this now we should add a new rustc version to the code and restrict the limitations to older versions of rust.
[-]Derive `Debug` is not generated for structs with large array fields (len() > 32)[/-][+]Derive `Debug` is not generated for structs with large array fields (len() > 32) (need to add new rustc target)[/+]jplatte commentedon Jan 29, 2021
I've already done the first part, I'll try to get to the latter soon or post a WIP PR with some notes if I don't find the time to finish it (or somebody else is eager to work on this 🙂).
Let Rust derive everything but Default for large arrays in 1.47 and l…