Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ test_suite(
"//nativelink-config:doc_test",
"//nativelink-error:doc_test",
"//nativelink-macro:doc_test",
"//nativelink-proto:doc_test",
"//nativelink-scheduler:doc_test",
"//nativelink-service:doc_test",
"//nativelink-store:doc_test",
Expand Down
8 changes: 1 addition & 7 deletions nativelink-proto/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ load(
"@rules_rust//rust:defs.bzl",
"rust_binary",
"rust_doc",
"rust_doc_test",
"rust_library",
)

Expand Down Expand Up @@ -98,6 +97,7 @@ genrule(
"google/protobuf/empty.proto",
"google/protobuf/timestamp.proto",
"google/protobuf/wrappers.proto",
"google/rpc/error_details.proto",
"google/rpc/status.proto",
"src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto",
"src/main/java/com/google/devtools/build/lib/packages/metrics/package_load_metrics.proto",
Expand Down Expand Up @@ -186,9 +186,3 @@ rust_doc(
crate = ":nativelink-proto",
visibility = ["//visibility:public"],
)

rust_doc_test(
name = "doc_test",
timeout = "short",
crate = ":nativelink-proto",
)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some annoying reason, the new proto makes some things that look like doc tests, but fail. Given all the code is generic generated code, it shouldn't really have any doc tests anyways.

1 change: 1 addition & 0 deletions nativelink-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name = "nativelink-proto"
version = "1.1.0"

[lib]
doctest = false # because some of the generated protos have things that look like doctests but break
name = "nativelink_proto"
path = "genproto/lib.rs"

Expand Down
370 changes: 370 additions & 0 deletions nativelink-proto/genproto/google.rpc.pb.rs

Large diffs are not rendered by default.

Loading
Loading