blob: e996993f57757fb21cef7a6129c60ad301f58ac2 [file] [log] [blame]
load("@rules_cc//cc:defs.bzl", "cc_library")
load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", "rust_test")
cc_library(
name = "allocator_library",
srcs = ["allocator_library.cc"],
visibility = ["//visibility:public"],
)
cc_library(
name = "cclinkstampdep",
linkstamp = "cclinkstampdep.cc",
)
rust_library(
name = "rdep",
srcs = ["rdep.rs"],
edition = "2021",
)
rust_binary(
name = "bin",
srcs = ["bin.rs"],
edition = "2021",
deps = [
":cclinkstampdep",
":rdep",
],
)
rust_test(
name = "test",
srcs = ["test.rs"],
edition = "2021",
deps = [":rdep"],
)