blob: d78ebb6ad794123d2a6ea4e19657daa4fe769518 [file]
# Licensed under the Apache-2.0 license
# SPDX-License-Identifier: Apache-2.0
load("@rules_rust//rust:defs.bzl", "rust_library", "rust_test")
rust_library(
name = "fwmanager_api",
srcs = [
"src/boot_control.rs",
"src/lib.rs",
],
edition = "2024",
visibility = ["//visibility:public"],
deps = [
"//hal/blocking",
],
)
# Host tests: build on the host platform, no kernel/QEMU.
rust_test(
name = "fwmanager_api_test",
crate = ":fwmanager_api",
)