Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support generated files with sibling repo layout.
When using `experimental_sibling_repository_layout`, `file.path` won't contain a segment matching `workspace_root`, as the workspace name is encoded in the `root` path instead. In this change we first remove the root path prefix from each path. This allows patching the toolchain sysroot with rules like `copy_file()`, etc.
- Loading branch information