blob: f187c57eb74b190ce570e0003a9fda9331890e9b [file] [log] [blame]
Serge Bazanskicbf1fa92021-07-02 17:28:50 +02001"""
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:rust.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_test",
17)
18
19package(default_visibility = [
20 # Public for visibility by "@raze__crate__version//" targets.
21 #
22 # Prefer access through "//third_party/rust/cargo", which limits external
23 # visibility to explicit Cargo.toml dependencies.
24 "//visibility:public",
25])
26
27licenses([
28 "notice", # MIT from expression "MIT"
29])
30
31# Generated Targets
32# buildifier: disable=out-of-order-load
33# buildifier: disable=load-on-top
34load(
35 "@rules_rust//cargo:cargo_build_script.bzl",
36 "cargo_build_script",
37)
38
39cargo_build_script(
40 name = "ws2_32_sys_build_script",
41 srcs = glob(["**/*.rs"]),
42 build_script_env = {
43 },
44 crate_features = [
45 ],
46 crate_root = "build.rs",
47 data = glob(["**"]),
48 edition = "2015",
49 rustc_flags = [
50 "--cap-lints=allow",
51 ],
52 tags = [
53 "cargo-raze",
54 "manual",
55 ],
56 version = "0.2.1",
57 visibility = ["//visibility:private"],
58 deps = [
59 "@raze__winapi_build__0_1_1//:winapi_build",
60 ],
61)
62
63alias(
64 name = "ws2_32_sys",
65 actual = ":ws2_32",
66 tags = [
67 "cargo-raze",
68 "manual",
69 ],
70)
71
72rust_library(
73 name = "ws2_32",
74 srcs = glob(["**/*.rs"]),
75 crate_features = [
76 ],
77 crate_root = "src/lib.rs",
78 crate_type = "lib",
79 data = [],
80 edition = "2015",
81 rustc_flags = [
82 "--cap-lints=allow",
83 ],
84 tags = [
85 "cargo-raze",
86 "manual",
87 ],
88 version = "0.2.1",
89 # buildifier: leave-alone
90 deps = [
91 ":ws2_32_sys_build_script",
92 "@raze__winapi__0_2_8//:winapi",
93 ],
94)