blob: 53a033fcecdf8a894a97717b6c34181a5f4eac9a [file] [log] [blame]
load("//rust:defs.bzl", "rust_binary", "rust_library")
rust_library(
name = "bar",
srcs = ["bar.rs"],
edition = "2021",
)
genquery(
name = "bar_deps",
expression = "deps(//test/genquery:bar)",
scope = [":bar"],
)
rust_binary(
name = "foo",
srcs = ["foo.rs"],
edition = "2021",
deps = [":bar"],
)
genquery(
name = "foo_deps",
expression = "deps(//test/genquery:foo)",
scope = [":foo"],
)