diff --git a/config/rules.mk b/config/rules.mk index 938c956720da..81e52860e2b2 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -945,7 +945,7 @@ ifdef MOZ_RUST # in the target's LIBS. $(RSOBJS): $(REPORT_BUILD) - $(RUSTC) $(RUSTFLAGS) --crate-type staticlib -o $(call mk_libname,$<) $(_VPATH_SRCS) + $(RUSTC) $(RUSTFLAGS) --crate-type staticlib --emit dep-info=$(MDDEPDIR)/$(call mk_libname,$<).pp,link=$(call mk_libname,$<) $(_VPATH_SRCS) endif $(SOBJS):