Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3577a99

Browse files
authoredApr 6, 2021
use #fileID for Swift 5.3+ (apple#187)
Motivation: Right now, we use the full path (`#file`) for the logging as well as for parsing out the module name (which goes into `source` by default). This has two problems: 1. The file names contain the build server's full path, ie. aren't portable across different compiles (and are very long). 2. The module name parsing fails if we log from a file that's not in a directory named just like the module. Modification: Switch `#file` for `#fileID`. This changes a bunch of things: - `source` is always the module name by default (great!) - `file` changes from `/the/full/path/on/disk` to `ModuleName/FileBaseName.swift` (I think better, but it's a change) Result: `source` is more correct, `file` will be different.
1 parent b1d1c03 commit 3577a99

File tree

5 files changed

+343
-39
lines changed

5 files changed

+343
-39
lines changed
 
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Failed to load comments.