Skip to content

Commit a52f996

Browse files
committed
rust: skip .rmeta generation for leaves
The previous refactor of `--emit` allows us to disable it. Later on we will likely have a way to have a graph of TUs, but right now, we do not need to generate the metadata. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 06be45c commit a52f996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Makefile.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ rust_handle_depfile = \
357357

358358
quiet_cmd_rustc_o_rs = $(RUSTC_OR_CLIPPY_QUIET) $(quiet_modtag) $@
359359
cmd_rustc_o_rs = \
360-
$(rust_common_cmd) --emit=dep-info,obj,metadata $<; \
360+
$(rust_common_cmd) --emit=dep-info,obj $<; \
361361
$(rust_handle_depfile)
362362

363363
$(obj)/%.o: $(src)/%.rs FORCE

0 commit comments

Comments
 (0)