Uploaded image for project: 'Swift'
  1. Swift
  2. SR-2489

-resource-dir lib/swift/macosx should be treated as -resource-dir lib/swift/

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Compiler
    • Labels:

      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).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jrose Jordan Rose
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: