blob: eb7594ec4067baa6d1a89f769be3fff2ddba081c [file]
# Licensed under the Apache-2.0 license
# SPDX-License-Identifier: Apache-2.0
load("@rules_rust//rust:defs.bzl", "rust_doc", "rust_library")
package(default_visibility = ["//visibility:public"])
rust_library(
name = "error",
srcs = [
"flash.rs",
"ipc.rs",
"kernel.rs",
"lib.rs",
],
crate_name = "util_error",
edition = "2024",
deps = [
"@pigweed//pw_status/rust:pw_status",
],
)
rust_doc(
name = "error_doc",
crate = ":error",
)