dep-protobuf/third_party/rules_fuzzing.patch
Protobuf Team Bot 4a5660c889 Automated rollback of commit 4dc164884c.
PiperOrigin-RevId: 642058565
2024-06-10 16:32:18 -07:00

13 lines
No EOL
628 B
Diff

diff --git a/fuzzing/private/binary.bzl b/fuzzing/private/binary.bzl
index 4c85aed..8ff9723 100644
--- a/fuzzing/private/binary.bzl
+++ b/fuzzing/private/binary.bzl
@@ -114,7 +114,7 @@ def _fuzzing_binary_impl(ctx):
else:
default_info = ctx.attr.binary[DefaultInfo]
binary_runfiles = default_info.default_runfiles
- binary_repo_mapping_manifest = getattr(default_info.files_to_run, "repo_mapping_manifest")
+ binary_repo_mapping_manifest = getattr(default_info.files_to_run, "repo_mapping_manifest", None)
other_runfiles = []
if ctx.file.corpus:
other_runfiles.append(ctx.file.corpus)