mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Currently, swift-frontend will always try to infer a default CASPath if no `-cas-path` is passed. The function `getDefaultOnDiskCASPath` called to infer the default path can fatal error in some environment where no caching directory and home directory, no matter if caching is used or not. Remove the inferred path during parsing since that is not strictly necessary. If caching is enabled and no CASPath is passed, error can be issued during CAS construction time. rdar://158899187
168 KiB
168 KiB