| commit | 9c8d83bc10606f94c820138084cc1b4a8d9eecba | [log] [tgz] |
|---|---|---|
| author | Stephen Chan <chan.stephen.y@gmail.com> | Thu Nov 24 09:57:48 2022 -0800 |
| committer | GitHub <noreply@github.com> | Thu Nov 24 18:57:48 2022 +0100 |
| tree | e86fa25bc52ea9e7f2e061c26048499e882a2830 | |
| parent | 1408983b47870add30982863b2c846d8fea7d875 [diff] |
go_path: support go:embed of generated files (#3285) When embedded files are generated, relativize fails because the file path starts with the output directory. Without the change in path.bzl, the test case fails as follows: Error in fail: Path 'bazel-out/darwin-fastbuild/bin/tests/core/go_path/pkg/lib/renamed_embedded_src.txt' is not beneath 'tests/core/go_path/pkg/lib'