Skip to content

Commit 0a28eb1

Browse files
OSS-Fuzz Teamcopybara-github
authored andcommitted
index_build: Fix recently introduced bug with finding relevant binaries.
This was introduced after cl/784151066. We need better tests here. PiperOrigin-RevId: 785648087
1 parent 317ae91 commit 0a28eb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/base-images/base-builder/indexer/index_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def enumerate_build_targets(
267267
for binary_path in binary_paths:
268268
compile_commands = data['compile_commands']
269269
target_binary_config = manifest_types.CommandLineBinaryConfig(
270-
**dict(binary_config.to_dict(), binary_name=name)
270+
**dict(binary_config.to_dict(), binary_name=binary_path.name)
271271
)
272272
binary_to_build_metadata[binary_path.name] = BinaryMetadata(
273273
binary_config=target_binary_config,

0 commit comments

Comments
 (0)