| # 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 = "orchestrator_capabilities", | |
| srcs = [ | |
| "src/boot_control.rs", | |
| "src/boot_watch.rs", | |
| "src/evidence.rs", | |
| "src/lib.rs", | |
| "src/lockdown_latch.rs", | |
| "src/recovery.rs", | |
| "src/svn_floor.rs", | |
| "src/trial_boot.rs", | |
| "src/updatable.rs", | |
| ], | |
| edition = "2024", | |
| visibility = ["//visibility:public"], | |
| ) | |
| # Host tests: build on the host platform, no kernel/QEMU. | |
| rust_test( | |
| name = "orchestrator_capabilities_test", | |
| crate = ":orchestrator_capabilities", | |
| ) |