@@ -248,15 +248,15 @@ def _define_targets():
248
248
name = "lib_with_proc_macro" ,
249
249
srcs = ["rustdoc_lib.rs" ],
250
250
rustdoc_deps = [":adder" ],
251
- proc_macro_deps = [":rustdoc_proc_macro" ],
251
+ deps = [":rustdoc_proc_macro" ],
252
252
crate_features = ["with_proc_macro" ],
253
253
)
254
254
255
255
_target_maker (
256
256
rust_library ,
257
257
name = "lib_with_proc_macro_in_docs" ,
258
258
srcs = ["procmacro_in_rustdoc.rs" ],
259
- proc_macro_deps = [":rustdoc_proc_macro" ],
259
+ deps = [":rustdoc_proc_macro" ],
260
260
)
261
261
262
262
_target_maker (
@@ -270,16 +270,18 @@ def _define_targets():
270
270
rust_library ,
271
271
name = "lib_nodep_with_proc_macro" ,
272
272
srcs = ["rustdoc_nodep_lib.rs" ],
273
- proc_macro_deps = [":rustdoc_proc_macro" ],
273
+ deps = [":rustdoc_proc_macro" ],
274
274
crate_features = ["with_proc_macro" ],
275
275
)
276
276
277
277
_target_maker (
278
278
rust_binary ,
279
279
name = "bin_with_transitive_proc_macro" ,
280
280
srcs = ["rustdoc_bin.rs" ],
281
- deps = [":lib_with_proc_macro" ],
282
- proc_macro_deps = [":rustdoc_proc_macro" ],
281
+ deps = [
282
+ ":lib_with_proc_macro" ,
283
+ ":rustdoc_proc_macro" ,
284
+ ],
283
285
crate_features = ["with_proc_macro" ],
284
286
)
285
287
0 commit comments