Skip to content

Commit c5d3ab4

Browse files
tausbnCopilot
andcommitted
unified: Add swift_node_types.yml to the extractor's compile_data
`languages::swift::adapter` embeds the swift-syntax node-types schema with `include_str!("../../../swift_node_types.yml")`, but the file was never listed in the extractor's Bazel `compile_data`. The `cargo` build finds it on disk, so this went unnoticed, but the sandboxed Bazel build cannot see it and fails to compile the extractor. List it alongside `ast_types.yml`. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5910e1b commit c5d3ab4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎unified/extractor/BUILD.bazel‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ codeql_rust_binary(
77
name = "extractor",
88
srcs = glob(["src/**/*.rs"]),
99
aliases = aliases(),
10-
compile_data = ["ast_types.yml"],
10+
compile_data = [
11+
"ast_types.yml",
12+
"swift_node_types.yml",
13+
],
1114
proc_macro_deps = all_crate_deps(
1215
proc_macro = True,
1316
),

0 commit comments

Comments
 (0)