blob: 100a2bda1fa8a74feda3d0c08b4aeb6543c0020f [file] [log] [blame]
load(
"@rules_rust//rust:defs.bzl",
"rust_library",
"rust_test",
)
cc_library(
name = "two",
hdrs = ["two.h"],
)
cc_library(
name = "three",
hdrs = ["three.h"],
)
rust_library(
name = "math",
srcs = ["math.rs"],
cc_deps = [
":three",
":two",
],
proc_macro_deps = [
"//cc_import",
],
)
rust_test(
name = "math_test",
crate = ":math",
)