blob: 816edcc2339788367ac3925d96f2a828f6b9602c [file] [log] [blame]
"""End-to-end example of using fully-instantiated templates as function return types."""
load("//common:crubit_wrapper_macros_oss.bzl", "crubit_rust_test")
load("//rs_bindings_from_cc/test:test_bindings.bzl", "crubit_test_cc_library")
package(default_applicable_licenses = ["//:license"])
crubit_test_cc_library(
name = "struct_fields",
hdrs = ["struct_fields.h"],
)
crubit_rust_test(
name = "main",
srcs = ["test.rs"],
cc_deps = [":struct_fields"],
deps = [
"//third_party/gtest_rust/googletest",
],
)