Gate the printing on --json=unused-externs

This commit is contained in:
est31 2020-06-30 20:17:07 +02:00
parent aef1e35edc
commit 3f2ca47a79
4 changed files with 22 additions and 6 deletions

View file

@ -147,6 +147,9 @@ top_level_options!(
// by the compiler.
json_artifact_notifications: bool [TRACKED],
// `true` if we're emitting a JSON blob containing the unused externs
json_unused_externs: bool [UNTRACKED],
pretty: Option<PpMode> [UNTRACKED],
}
);