blob: 40e43ffc85d17808b7bde2732eb449cf938db85c [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/rules/rust:rustc_library.bzl", "rustc_library")
package(default_applicable_licenses = ["//:license"])
rustc_library(
name = "guest_cli_args",
srcs = ["src/lib.rs"],
edition = "2024",
visibility = [
"//src/virtualization/bin/guest:__pkg__",
"//src/virtualization/ffx:__subpackages__",
"//src/virtualization/lib/cli:__pkg__",
],
deps = [
"//third_party/rust_crates/vendor:argh",
"//third_party/rust_crates/vendor:serde",
] + select({
"//build/bazel/platforms:is_host_os": [
"//src/developer/ffx/core:lib",
],
"//conditions:default": [],
}),
)