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>
This commit is contained in:
Taus
2026-07-24 15:47:34 +00:00
parent 17cbb4eb6b
commit 7721ce2eba

View File

@@ -7,7 +7,10 @@ codeql_rust_binary(
name = "extractor",
srcs = glob(["src/**/*.rs"]),
aliases = aliases(),
compile_data = ["ast_types.yml"],
compile_data = [
"ast_types.yml",
"swift_node_types.yml",
],
proc_macro_deps = all_crate_deps(
proc_macro = True,
),