-
Notifications
You must be signed in to change notification settings - Fork 236
/
Copy pathBUCK
28 lines (26 loc) · 916 Bytes
/
BUCK
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
load("@fbcode_macros//build_defs:rust_binary.bzl", "rust_binary")
oncall("rust_devx")
rust_binary(
name = "rust-project",
srcs = glob([
"src/**/*.rs",
"templates/*",
]),
contacts = ["[email protected]"],
crate_root = "src/main.rs",
link_style = "static",
deps = [
"fbsource//third-party/rust:anyhow",
"fbsource//third-party/rust:clap",
"fbsource//third-party/rust:dunce",
"fbsource//third-party/rust:elf",
"fbsource//third-party/rust:rustc-hash",
"fbsource//third-party/rust:serde",
"fbsource//third-party/rust:serde_json",
"fbsource//third-party/rust:tracing",
"fbsource//third-party/rust:tracing-subscriber",
"fbsource//third-party/rust:whoami",
# @oss-disable: "//common/rust/scuba:scuba",
# @oss-disable: "//common/rust/shed/fbinit:fbinit",
],
)