Skip to content

Commit

Permalink
tests: Expose test's fake_header.h so py_cc_toolchain tests can use i…
Browse files Browse the repository at this point in the history
…t. (bazelbuild#1388)

Newer Bazel versions default to not exporting files by default; this
explicitly exports the file so it can be referenced.
  • Loading branch information
rickeylev authored Aug 22, 2023
1 parent 67072d9 commit fd71516
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/cc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ load(":fake_cc_toolchain_config.bzl", "fake_cc_toolchain_config")

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

exports_files(["fake_header.h"])

toolchain(
name = "fake_py_cc_toolchain",
tags = PREVENT_IMPLICIT_BUILDING_TAGS,
Expand Down

0 comments on commit fd71516

Please sign in to comment.