-
Notifications
You must be signed in to change notification settings - Fork 471
/
Copy pathBUILD.bazel
106 lines (75 loc) · 2.01 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load(
":settings.bzl",
"capture_clippy_output",
"clippy_flag",
"clippy_flags",
"clippy_toml",
"codegen_units",
"error_format",
"experimental_link_std_dylib",
"experimental_per_crate_rustc_flag",
"experimental_use_cc_common_link",
"experimental_use_coverage_metadata_files",
"experimental_use_global_allocator",
"experimental_use_sh_toolchain_for_bootstrap_process_wrapper",
"extra_exec_rustc_flag",
"extra_exec_rustc_flags",
"extra_rustc_flag",
"extra_rustc_flags",
"incompatible_change_rust_test_compilation_output_directory",
"incompatible_do_not_include_data_in_compile_data",
"lto",
"no_std",
"pipelined_compilation",
"rename_first_party_crates",
"rustc_output_diagnostics",
"rustfmt_toml",
"third_party_dir",
"toolchain_generated_sysroot",
"unpretty",
"use_real_import_macro",
)
package(default_visibility = ["//visibility:public"])
exports_files([
".clippy.toml",
".rustfmt.toml",
"settings.bzl",
])
bzl_library(
name = "bzl_lib",
srcs = glob(["*.bzl"]),
visibility = ["//rust:__pkg__"],
deps = [
"//rust/private:bzl_lib",
"@bazel_skylib//rules:common_settings",
],
)
capture_clippy_output()
clippy_flag()
clippy_flags()
clippy_toml()
codegen_units()
error_format()
experimental_link_std_dylib()
experimental_per_crate_rustc_flag()
experimental_use_cc_common_link()
experimental_use_coverage_metadata_files()
experimental_use_global_allocator()
experimental_use_sh_toolchain_for_bootstrap_process_wrapper()
extra_exec_rustc_flag()
extra_exec_rustc_flags()
extra_rustc_flag()
extra_rustc_flags()
incompatible_change_rust_test_compilation_output_directory()
incompatible_do_not_include_data_in_compile_data()
lto()
no_std()
pipelined_compilation()
rename_first_party_crates()
rustc_output_diagnostics()
rustfmt_toml()
third_party_dir()
toolchain_generated_sysroot()
unpretty()
use_real_import_macro()