[SR-2489] -resource-dir lib/swift/macosx should be treated as -resource-dir lib/swift/ #45094
Labels
compiler
The Swift compiler itself
good first issue
Good for newcomers
improvement
legacy driver
Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project
Additional Detail from JIRA
md5: 55654e442cde4ed3e942cc7a23ba8985
Issue Description:
Although -resource-dir is pretty much only useful for people working on the compiler, it's a common mistake to pass a particular platform directory (like lib/swift/macosx/) instead of the whole thing (lib/swift/). The Swift driver could check for this (by looking for something that ought to be in lib/swift/) and popping up to the parent directory if it doesn't find it (with a warning).
The text was updated successfully, but these errors were encountered: