Skip to content

Commit e2de815

Browse files
authored
Disable parse_headers when generating commands (#7)
See hedronvision#274
1 parent 6dcd923 commit e2de815

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

refresh.template.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,9 +1183,11 @@ def _get_commands(target: str, flags: str, bazel_binary: str):
11831183
# For more context, see https://github.com/hedronvision/bazel-compile-commands-extractor/issues/83
11841184
# If https://github.com/clangd/clangd/issues/123 is resolved and we're not doing header extraction, we could try removing this, checking that there aren't erroneous red squigglies squigglies before the module maps are generated.
11851185
# If Bazel starts supporting modules (https://github.com/bazelbuild/bazel/issues/4005), we'll probably need to make changes that subsume this.
1186-
'--features=-layering_check',
11871186
'--host_features=-compiler_param_file',
1187+
'--features=-layering_check',
11881188
'--host_features=-layering_check',
1189+
'--features=-parse_headers',
1190+
'--host_features=-parse_headers',
11891191
]
11901192

11911193
aquery_args += additional_flags

0 commit comments

Comments
 (0)