File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,10 @@ def _rust_library_common(ctx, crate_type):
283
283
rust_lib_build_output = None
284
284
output_diagnostics = ctx .attr ._output_diagnostics
285
285
if ctx .attr ._process_wrapper and output_diagnostics :
286
- rust_lib_build_output = ctx .actions .declare_file (_rustc_output_name (rust_lib_name ))
286
+ rust_lib_build_output = ctx .actions .declare_file (
287
+ _rustc_output_name (rust_lib_name ),
288
+ sibling = rust_lib ,
289
+ )
287
290
288
291
rust_metadata = None
289
292
rust_metadata_build_output = None
@@ -295,7 +298,10 @@ def _rust_library_common(ctx, crate_type):
295
298
sibling = rust_lib ,
296
299
)
297
300
if output_diagnostics :
298
- rust_metadata_build_output = ctx .actions .declare_file (_rustc_output_name (rust_metadata_name ))
301
+ rust_metadata_build_output = ctx .actions .declare_file (
302
+ _rustc_output_name (rust_metadata_name ),
303
+ sibling = rust_metadata ,
304
+ )
299
305
300
306
deps = transform_deps (ctx .attr .deps )
301
307
proc_macro_deps = transform_deps (ctx .attr .proc_macro_deps + get_import_macro_deps (ctx ))
You can’t perform that action at this time.
0 commit comments