[SR-9670] Driver should accept -serialize-diagnostics-path for the interpret mode #52114
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
good first issue
Good for newcomers
legacy driver
Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project
Additional Detail from JIRA
md5: dc453f20454a4c64e2e42bc034bb9966
Issue Description:
The swift driver emits an error if you try to use
-serialize-diagnostic
option in the interpret mode. This makes sense because there is no place for it get the path of the diagnostic file (since there is no output file map). It could accept a-serialize-diagnostics-path
flag to allow writing serializing diagnostics in this mode. This is required for XPM when parsing Package.swift manifest files.The text was updated successfully, but these errors were encountered: