Add -show-unused (Shows unused package declarations of all imported packages)

Crude output at the moment but better than nothing
This commit is contained in:
gingerBill
2020-11-17 12:10:25 +00:00
parent ca4b0527e8
commit 6f71d1f2a9
7 changed files with 208 additions and 33 deletions

View File

@@ -143,6 +143,7 @@ struct BuildContext {
bool generate_docs;
i32 optimization_level;
bool show_timings;
bool show_unused;
bool show_more_timings;
bool show_system_calls;
bool keep_temp_files;