blob: 618fd2c5a1ac1d608e80bf895b60129a8e40b6cd [file] [log] [blame]
# Part of the Crubit project, under the Apache License v2.0 with LLVM
# Exceptions. See /LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
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 = "test_helpers",
testonly = 1,
hdrs = ["test_helpers.h"],
aspect_hints = ["//features:experimental"],
deps = ["//support:annotations"],
)
crubit_rust_test(
name = "unique_ptr_test",
srcs = ["unique_ptr_test.rs"],
cc_deps = [
":test_helpers",
"//support/public:cc_std",
],
deps = [
"@crate_index//:googletest",
],
)