Commit e876081
committed
local_crate_repository: mark non-reproducible on Windows
Bazel >= 9.0.1 replants workspace-pointing symlinks as relative
`..\_main\...` paths when placing reproducible repos in the contents
cache. On Windows those paths resolve at `<output_base>/external/<repo>`
but dangle from `<output_base>/execroot/_main/external/<repo>` (there
is no `execroot/_main/external/_main`), so actions fail to read the
crate sources.
Marking the repo non-reproducible on Windows skips the replanting, so
the original absolute symlinks survive and resolve from both views. The
tradeoff is loss of remote-repo-contents-cache eligibility on Windows.
See bazelbuild/bazel#29515.1 parent 804a0bf commit e876081
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
101 | 109 | | |
102 | | - | |
| 110 | + | |
103 | 111 | | |
104 | 112 | | |
105 | 113 | | |
| |||
0 commit comments