Skip to content

Commit fd71516

Browse files
authored
tests: Expose test's fake_header.h so py_cc_toolchain tests can use it. (bazel-contrib#1388)
Newer Bazel versions default to not exporting files by default; this explicitly exports the file so it can be referenced.
1 parent 67072d9 commit fd71516

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/cc/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ load(":fake_cc_toolchain_config.bzl", "fake_cc_toolchain_config")
1919

2020
package(default_visibility = ["//:__subpackages__"])
2121

22+
exports_files(["fake_header.h"])
23+
2224
toolchain(
2325
name = "fake_py_cc_toolchain",
2426
tags = PREVENT_IMPLICIT_BUILDING_TAGS,

0 commit comments

Comments
 (0)