blob: 14e65f0d1cb25c40c99c1f58fcd6d32ada9da2c3 [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_hal_adapters",
srcs = [
"src/gpio_boot_monitor.rs",
"src/hal_boot_control.rs",
"src/lib.rs",
],
edition = "2024",
visibility = ["//visibility:public"],
deps = [
"//hal/blocking",
"//services/fwmanager/api:fwmanager_api",
],
)
# Host tests: build on the host platform, no kernel/QEMU.
rust_test(
name = "fwmanager_hal_adapters_test",
crate = ":fwmanager_hal_adapters",
)