[SR-11710] Misleading target triple in diagnostic "unknown-apple-ios13.3.0" #54118
Labels
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
improvement
Additional Detail from JIRA
md5: 99515dd582e7d891606ee24c985df29b
Issue Description:
Say you are compiling for a target 'myarch-apple-ios13.0'. In case the compiler doesn't recognize the target, it should print the actual target triple that was passed as the argument, saying (ideally) "error: unknown target triple 'myarch-apple-ios13.0'" instead of saying (current) "error: unknown target triple 'unknown-apple-ios13.0'". The current diagnostic is unnecessarily misleading/confusing.
The text was updated successfully, but these errors were encountered: