Commit 1f12fb13 authored by Dmitry Dolgov's avatar Dmitry Dolgov Committed by Arnaldo Carvalho de Melo
Browse files

tools build: Emit dependencies file for test-rust.bin



Test it first by having rust installed, then removing it and building again.

Fixes: 6a32fa5c ("tools build: Add a feature test for rust compiler")
Signed-off-by: default avatarDmitry Dolgov <9erthalion6@gmail.com>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 84a654f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ __BUILD = $(CC) $(CFLAGS) -MD -Wall -Werror -o $@ $(patsubst %.bin,%.c,$(@F)) $(
__BUILDXX = $(CXX) $(CXXFLAGS) -MD -Wall -Werror -o $@ $(patsubst %.bin,%.cpp,$(@F)) $(LDFLAGS)
  BUILDXX = $(__BUILDXX) > $(@:.bin=.make.output) 2>&1

__BUILDRS = $(RUSTC) $(RUSTC_FLAGS) -o $@ $(patsubst %.bin,%.rs,$(@F))
__BUILDRS = $(RUSTC) $(RUSTC_FLAGS) --emit=dep-info=$(patsubst %.bin,%.d,$(@F)),link -o $@ $(patsubst %.bin,%.rs,$(@F))
  BUILDRS = $(__BUILDRS) > $(@:.bin=.make.output) 2>&1

###############################