Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
458 B
17 lines
458 B
2 years ago
|
load("//rust:defs.bzl", "rust_proto_library")
|
||
|
load("@rules_rust//rust:defs.bzl", "rust_test")
|
||
|
|
||
|
rust_proto_library(
|
||
|
name = "hello_world_rs_proto",
|
||
|
testonly = True,
|
||
|
deps = ["//third_party/protobuf:unittest_proto"],
|
||
|
)
|
||
|
|
||
|
rust_test(
|
||
|
name = "hello_world_test",
|
||
|
srcs = ["hello_world_test.rs"],
|
||
|
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
|
||
|
tags = ["not_build:arm"],
|
||
|
deps = [":hello_world_rs_proto"],
|
||
|
)
|