123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- # Code generated by cargo-gazelle DO NOT EDIT
- # Copyright Materialize, Inc. and contributors. All rights reserved.
- #
- # Use of this software is governed by the Business Source License
- # included in the LICENSE file at the root of this repository.
- #
- # As of the Change Date specified in that file, in accordance with
- # the Business Source License, use of this software will be governed
- # by the Apache License, Version 2.0.
- load("@crates_io//:defs.bzl", "aliases", "all_crate_deps")
- load("@rules_rust//cargo:defs.bzl", "extract_cargo_lints")
- load("@rules_rust//rust:defs.bzl", "rust_binary")
- package(default_visibility = ["//visibility:public"])
- rust_binary(
- name = "metabase_smoketest",
- srcs = glob(["src/**/*.rs"]),
- aliases = aliases(
- normal = True,
- proc_macro = True,
- ),
- compile_data = [],
- crate_root = "src/bin/metabase-smoketest.rs",
- data = [],
- env = {},
- features = [],
- lint_config = ":lints",
- proc_macro_deps = [] + all_crate_deps(proc_macro = True),
- rustc_env = {},
- rustc_flags = [] + select({
- "@//misc/bazel/platforms:xlang_lto_enabled": ["-Clinker-plugin-lto"],
- "//conditions:default": [],
- }),
- version = "0.0.0",
- deps = [
- "//src/metabase:mz_metabase",
- "//src/ore:mz_ore",
- ] + all_crate_deps(normal = True),
- )
- extract_cargo_lints(
- name = "lints",
- manifest = "Cargo.toml",
- workspace = "@//:Cargo.toml",
- )
|