Add the new description field to Target::to_json, and add descriptions for some MSVC targets

This commit is contained in:
Daniel Paoliello
2024-03-07 14:03:25 -08:00
parent 9c3ad802d9
commit d6b597b786
7 changed files with 7 additions and 6 deletions

View File

@@ -3252,6 +3252,7 @@ impl ToJson for Target {
}
target_val!(llvm_target);
target_val!(description);
d.insert("target-pointer-width".to_string(), self.pointer_width.to_string().to_json());
target_val!(arch);
target_val!(data_layout);