blob: 60a7f590043350bab5ca5d056f5948e4ffa0ec78 [file] [log] [blame]
"""End-to-end tests of C++ functions with non-default calling conventions."""
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 = "calling_conventions",
srcs = ["calling_conventions.cc"],
hdrs = ["calling_conventions.h"],
)
crubit_rust_test(
name = "main",
srcs = ["test.rs"],
cc_deps = [":calling_conventions"],
deps = [
"//third_party/gtest_rust/googletest",
],
)