load("@fbcode_macros//build_defs:rust_library.bzl", "rust_library")

## Currently, this target can be built but cannot be depended on by other targets
## due to issues with building rust dylib in buck v1.
rust_library(
    name = "linter",
    srcs = glob(["src/**/*.rs"]),
    edition = "2018",
    preferred_linkage = "shared",
    unittests = False,
    deps = [
        "fbsource//third-party/rust:smallvec",
    ],
)
