blob: 96ee36d3f0549f2fff739ecba4ff9daa5f6a46fa [file]
# Copyright 2026 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
load("//build/bazel/platforms:constraints.bzl", "HOST_OS_CONSTRAINTS")
load("//build/bazel/rules/rust:defs.bzl", "rustc_library")
package(default_applicable_licenses = ["//:license"])
rustc_library(
name = "validate_util",
srcs = ["src/lib.rs"],
crate_name = "assembly_validate_util",
edition = "2024",
target_compatible_with = HOST_OS_CONSTRAINTS,
visibility = ["//src/lib/assembly:__subpackages__"],
with_host_unit_tests = True,
deps = [
"//src/sys/pkg/lib/far/rust:fuchsia-archive",
"//third_party/rust_crates/vendor:thiserror",
],
)