rustgn

11 commits
Updated 2026-05-09 17:23:41
third_party/rust/clap
third_party/rust/clap/BUILD.gn
config("clap_config") {
    rustflags = [
        "--cfg=feature=\"derive\"",
    ]
}

rust_static_library("clap") {
    sources = [
        "//third_party/rust/vendor/clap/src/lib.rs",
        "//third_party/rust/vendor/clap/src/_tutorial.rs",
        "//third_party/rust/vendor/clap/src/_features.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/repl.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/mod.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/repl_derive.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/multicall_busybox.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/escaped_positional.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/escaped_positional_derive.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/cargo_example.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/typed_derive.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/git_derive.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/multicall_hostname.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/git.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/find.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/cargo_example_derive.rs",
        "//third_party/rust/vendor/clap/src/_cookbook/pacman.rs",
        "//third_party/rust/vendor/clap/src/_concepts.rs",
        "//third_party/rust/vendor/clap/src/_derive/_tutorial.rs",
        "//third_party/rust/vendor/clap/src/_derive/mod.rs",
        "//third_party/rust/vendor/clap/src/_faq.rs",
        "//third_party/rust/vendor/clap/src/bin/stdio-fixture.rs"
    ]
    crate_root = "//third_party/rust/vendor/clap/src/lib.rs"
    deps = [
        "//third_party/rust/clap_builder",
        "//third_party/rust/clap_derive"
    ]
    configs = [
        ":clap_config",
    ]
}