blob: bb977510279ce561d3c6e6b22d5fdaeea088e823 [file]
"""End-to-end test for constructors."""
load("@rules_rust//rust:defs.bzl", "rust_test")
licenses(["notice"])
cc_library(
name = "constructors",
srcs = ["constructors.cc"],
hdrs = ["constructors.h"],
)
cc_library(
name = "no_elided_lifetimes",
srcs = ["no_elided_lifetimes.cc"],
hdrs = ["no_elided_lifetimes.h"],
)
rust_test(
name = "main",
srcs = ["test.rs"],
cc_deps = [
":constructors",
":no_elided_lifetimes",
],
deps = [
"@crates_io//static_assertions/v1:static_assertions",
],
)