| # Copyright 2022 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. |
| |
| import("//build/host.gni") |
| import("//build/rust/rustc_library.gni") |
| |
| assert(is_host, "Assembly libraries are host-only") |
| |
| rustc_library("validate_util") { |
| edition = "2021" |
| name = "assembly_validate_util" |
| with_unit_tests = true |
| deps = [ |
| "//src/sys/pkg/lib/far/rust:fuchsia-archive", |
| "//third_party/rust_crates:thiserror", |
| ] |
| sources = [ "src/lib.rs" ] |
| } |