1
Fork 0

add -Z dump-mono-stats

This option will output some stats from the monomorphization collection
pass to a file, to show estimated sizes from each instantiation.
This commit is contained in:
Rémy Rakic 2022-12-08 19:21:08 +00:00
parent 74f4da44a5
commit 7611933e6a
4 changed files with 88 additions and 1 deletions

View file

@ -21,3 +21,6 @@ monomorphize_large_assignments =
moving {$size} bytes
.label = value moved from here
.note = The current maximum size is {$limit}, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
monomorphize_couldnt_dump_mono_stats =
unexpected error occurred while dumping monomorphization stats: {$error}