| """End-to-end test of forward declarations.""" |
| load("@rules_rust//rust:defs.bzl", "rust_test") |
| srcs = ["definition.cc"], |
| hdrs = ["declaration_1.h"], |
| ":definition", # build_cleaner: keep |
| hdrs = ["declaration_2.h"], |
| ":definition", # build_cleaner: keep |
| name = "no_definition_in_headers", |
| hdrs = ["no_definition_in_headers.h"], |
| name = "forward_declarations_test", |
| srcs = ["forward_declarations_test.rs"], |
| ":no_definition_in_headers", |
| "//rs_bindings_from_cc/support:ctor", |
| "//rs_bindings_from_cc/support:forward_declare", |