swiftlang/swift

[SR-2489] -resource-dir lib/swift/macosx should be treated as -resource-dir lib/swift/

开放

#45,094 创建于 2016年8月25日

 (0 条评论) (0 个反应) (0 位负责人)Swift (10,719 个派生)batch import
compilergood first issueimprovementlegacy driver

仓库指标

星标
 (69,989 个星标)
PR 合并指标
 (平均合并 8天 17小时) (30 天内合并 510 个 PR)

描述

Previous ID SR-2489
Radar None
Original Reporter @belkadan
Type Improvement
Votes 0
Component/s Compiler
Labels Improvement, Driver, StarterBug
Assignee None
Priority Medium

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

贡献者指南