diff --git a/shed/hostcaps/BUCK b/shed/hostcaps/BUCK deleted file mode 100644 index daf77fe8e..000000000 --- a/shed/hostcaps/BUCK +++ /dev/null @@ -1,43 +0,0 @@ -load("@fbcode_macros//build_defs:cpp_library.bzl", "cpp_library") -load("@fbcode_macros//build_defs:rust_binary.bzl", "rust_binary") -load("@fbcode_macros//build_defs:rust_library.bzl", "rust_library") - -oncall("autocargo") - -rust_library( - name = "hostcaps", - srcs = glob(["src/**/*.rs"]), - autocargo = { - "cargo_toml_config": { - "lints": { - "rust": { - "unexpected_cfgs": { - "check-cfg": ["cfg(fbcode_build)"], - "level": "warn", - }, - }, - }, - }, - }, - crate_root = "src/lib.rs", - deps = [ - "fbsource//third-party/rust:derive_more", - "fbsource//third-party/rust:once_cell", - "//common/rust/fbwhoami:fbwhoami", - ], -) - -cpp_library( - name = "hostcaps_ffi", - headers = ["hostcaps.h"], - exported_deps = [ - ":hostcaps", - ], -) - -rust_binary( - name = "test-hostcaps", - srcs = ["src/bin/test.rs"], - crate_root = "src/bin/test.rs", - deps = [":hostcaps"], -)