blob: abbf0d224f5f11f3a73e82d00382d0df02c74c64 [file] [log] [blame] [edit]
# 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 = [
"//rust/cpp_kernel:cpp_api",
"//rust/test:unittest_cc_proto",
"@com_google_absl//absl/strings",
],
)
rust_test(
name = "interop_test",
srcs = ["main.rs"],
tags = [
# TODO: 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",
"@crate_index//:googletest",
],
)