Commit 9c84003
committed
Driver: further generalise #1088
It seems that a similar problem has impacted the generation of
serialised diagnostics for modules. Follow the adage of CS inherently
having 3 numbers: 0, 1, N and generalise the path to a penultimate
fallback. We should always have the swift dependency information on
hand to locate the build directory as that is the "master dependency".
This should hopefully prevent accidental cases of files leaking into the
current directory.1 parent c73d652 commit 9c84003
1 file changed
+13
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3014 | 3014 | | |
3015 | 3015 | | |
3016 | 3016 | | |
3017 | | - | |
3018 | | - | |
3019 | | - | |
3020 | | - | |
3021 | | - | |
3022 | | - | |
3023 | | - | |
3024 | | - | |
3025 | | - | |
3026 | | - | |
3027 | | - | |
3028 | | - | |
3029 | | - | |
3030 | | - | |
3031 | | - | |
| 3017 | + | |
| 3018 | + | |
| 3019 | + | |
3032 | 3020 | | |
3033 | 3021 | | |
3034 | 3022 | | |
| |||
3046 | 3034 | | |
3047 | 3035 | | |
3048 | 3036 | | |
| 3037 | + | |
| 3038 | + | |
| 3039 | + | |
| 3040 | + | |
| 3041 | + | |
| 3042 | + | |
| 3043 | + | |
| 3044 | + | |
| 3045 | + | |
| 3046 | + | |
3049 | 3047 | | |
3050 | 3048 | | |
3051 | 3049 | | |
| |||
0 commit comments