blob: 62b34baa0a387d96a27f0fc03f7ff7f5e7508f5f [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("@platforms//host:constraints.bzl", "HOST_CONSTRAINTS")
load("//build/bazel/rules/rust:defs.bzl", "rustc_library")
package(default_visibility = ["//visibility:public"])
rustc_library(
name = "lib",
srcs = ["src/lib.rs"],
crate_name = "buildid",
edition = "2024",
target_compatible_with = HOST_CONSTRAINTS,
version = "0.1.0",
with_host_unit_tests = True,
deps = [
"//src/developer/ffx/lib/buildid/cpp:buildid",
"//third_party/rust_crates/vendor:thiserror",
],
)