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.
27 lines
657 B
27 lines
657 B
# This package contains tests exercising C++/Rust interop in the cpp kernel. |
|
|
|
load("@rules_rust//rust:defs.bzl", "rust_test") |
|
|
|
cc_library( |
|
name = "test_utils", |
|
srcs = ["test_utils.cc"], |
|
deps = [ |
|
"//third_party/absl/strings", |
|
"//rust/cpp_kernel:cpp_api", |
|
"//rust/test:unittest_cc_proto", |
|
], |
|
) |
|
|
|
rust_test( |
|
name = "interop_test", |
|
srcs = ["main.rs"], |
|
tags = [ |
|
# TODO(b/298006932): Enable testing on arm once we support sanitizers for Rust on Arm. |
|
"not_build:arm", |
|
], |
|
deps = [ |
|
":test_utils", |
|
"//rust:protobuf_cpp", |
|
"//rust/test:unittest_cc_rust_proto", |
|
], |
|
)
|
|
|