blob: 99c4f30f40aca8ab83f84fda9e4cb9d34b5a6bc4 [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 = "lib",
srcs = [
"src/enumerations.rs",
"src/fletcher64.rs",
"src/instances.rs",
"src/lib.rs",
"src/targets.rs",
],
crate_name = "emulator_instance",
edition = "2024",
target_compatible_with = HOST_OS_CONSTRAINTS,
test_deps = [
"//third_party/rust_crates/vendor:tempfile",
],
version = "0.1.0",
visibility = ["//src/developer/ffx:__subpackages__"],
with_host_unit_tests = True,
deps = [
"//build/sdk/meta:rust",
"//src/developer/ffx/lib/process:lib",
"//third_party/rust_crates/vendor:anyhow",
"//third_party/rust_crates/vendor:byteorder",
"//third_party/rust_crates/vendor:log",
"//third_party/rust_crates/vendor:schemars",
"//third_party/rust_crates/vendor:serde",
"//third_party/rust_crates/vendor:serde_json",
"//third_party/rust_crates/vendor:thiserror",
],
)