fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

UebelAndreRegenerated `cargo-raze` outputs with v0.15.0 (#1184)5e6ad9f6

0.5.0
1.7 KiB80 linesraw
1"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
13    "@rules_rust//rust:defs.bzl",
14    "rust_binary",
15    "rust_library",
16    "rust_proc_macro",
17    "rust_test",
18)
19
20package(default_visibility = [
21    # Public for visibility by "@raze__crate__version//" targets.
22    #
23    # Prefer access through "//wasm_bindgen/raze", which limits external
24    # visibility to explicit Cargo.toml dependencies.
25    "//visibility:public",
26])
27
28licenses([
29    "notice",  # MIT from expression "MIT"
30])
31
32# Generated Targets
33
34# Unsupported target "build-script-main" with type "custom-build" omitted
35
36rust_library(
37    name = "openssl_sys",
38    srcs = glob(["**/*.rs"]),
39    aliases = {
40    },
41    crate_features = [
42    ],
43    crate_root = "src/lib.rs",
44    data = [],
45    edition = "2015",
46    rustc_flags = [
47        "--cap-lints=allow",
48        "--cfg=ossl101",
49        "--cfg=ossl102",
50        "--cfg=ossl102f",
51        "--cfg=ossl102h",
52        "--cfg=ossl110",
53        "--cfg=ossl110f",
54        "--cfg=ossl110g",
55        "--cfg=ossl111",
56        "--cfg=ossl111b",
57        "-l",
58        "dylib=ssl",
59        "-l",
60        "dylib=crypto",
61    ],
62    tags = [
63        "cargo-raze",
64        "crate-name=openssl-sys",
65        "manual",
66    ],
67    version = "0.9.70",
68    # buildifier: leave-alone
69    deps = [
70        "@rules_rust_wasm_bindgen__libc__0_2_107//:libc",
71    ] + selects.with_or({
72        # cfg(target_env = "msvc")
73        (
74            "@rules_rust//rust/platform:i686-pc-windows-msvc",
75            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
76        ): [
77        ],
78        "//conditions:default": [],
79    }),
80)