Skip to content

Commit 1842ea6

Browse files
[bazel] Fix LLDB :Host Build
On some systems (probably those with a more recent clang), building :Host errors out with a layering check violation due to the histedit.h system include. Opt it out of layering checks for now, similar to other targets that depend on non standard library system includes.
1 parent 0f4dc93 commit 1842ea6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/bazel/llvm-project-overlay/lldb/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ cc_library(
591591
],
592592
"//conditions:default": [],
593593
}),
594+
features = ["-layering_check"], # histedit.h breaks this.
594595
)
595596

596597
cc_headers_only(

0 commit comments

Comments
 (0)