@@ -94,20 +94,18 @@ def _bindings_for_toolchain_headers_impl(ctx):
9494
9595bindings_for_toolchain_headers = rule (
9696 implementation = _bindings_for_toolchain_headers_impl ,
97- attrs = dict (
98- bindings_attrs .items () + {
99- # TODO(b/336981839): Delete this once cl/671582196 makes it to stable.
100- "hdrs" : attr .label (default = "//support/cc_std:empty_filegroup" ),
101- # Additional internal headers that are not part of the standard library. These headers will
102- # receive bindings which are exposed along with the standard library bindings.
103- # Everything inside these under should be hidden within namespace `crubit_cc_std_internal`.
104- "extra_hdrs" : attr .label_list (default = []),
105- "public_libc_hdrs" : attr .string_list (),
106- "public_libcxx_hdrs" : attr .string_list (),
107- "extra_rs_srcs" : attr .label_list (allow_files = True ),
108- "_stl" : attr .label (default = "//third_party/stl:stl" ),
109- }.items (),
110- ),
97+ attrs = bindings_attrs | {
98+ # TODO(b/336981839): Delete this once cl/671582196 makes it to stable.
99+ "hdrs" : attr .label (default = "//support/cc_std:empty_filegroup" ),
100+ # Additional internal headers that are not part of the standard library. These headers will
101+ # receive bindings which are exposed along with the standard library bindings.
102+ # Everything inside these under should be hidden within namespace `crubit_cc_std_internal`.
103+ "extra_hdrs" : attr .label_list (default = []),
104+ "public_libc_hdrs" : attr .string_list (),
105+ "public_libcxx_hdrs" : attr .string_list (),
106+ "extra_rs_srcs" : attr .label_list (allow_files = True ),
107+ "_stl" : attr .label (default = "//third_party/stl:stl" ),
108+ },
111109 toolchains = [
112110 "@rules_rust//rust:toolchain_type" ,
113111 "@bazel_tools//tools/cpp:toolchain_type" ,
0 commit comments