| # 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_binary") |
| |
| # @bazel2gn:skip |
| rustc_binary( |
| name = "list_test_expectations", |
| srcs = ["src/main.rs"], |
| edition = "2024", |
| rustc_flags = ["-Dunused_results"], |
| target_compatible_with = HOST_CONSTRAINTS, |
| test_deps = [ |
| "//third_party/rust_crates/vendor:glob", |
| ], |
| with_host_unit_tests = True, |
| deps = [ |
| "//src/lib/testing/expectation/expectations_matcher", |
| "//src/lib/testing/expectation/ser", |
| "//third_party/rust_crates/vendor:anyhow", |
| "//third_party/rust_crates/vendor:argh", |
| "//third_party/rust_crates/vendor:serde_json5", |
| ], |
| ) |