blob: c748e9212d0ec8769189ac944b32bab03534c5c2 [file] [edit]
# Licensed under the Apache-2.0 license
# SPDX-License-Identifier: Apache-2.0
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "ipc",
srcs = [
"host.rs",
"lib.rs",
"target.rs",
],
crate_name = "util_ipc",
edition = "2024",
visibility = ["//visibility:public"],
deps = [
"@pigweed//pw_status/rust:pw_status",
] + select({
"@platforms//os:none": [
"@pigweed//pw_kernel/userspace",
],
"//conditions:default": [
"@pigweed//pw_time/rust:pw_time",
],
}),
)