From ccf6112f1546ee381df11793bf013ebc95829b74 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 4 Jul 2011 15:30:28 -0700 Subject: [PATCH] Link the fuzzer crate to librustc again --- mk/fuzzer.mk | 3 ++- src/fuzzer/fuzzer.rc | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mk/fuzzer.mk b/mk/fuzzer.mk index bdab57248d0..43438cc3d1d 100644 --- a/mk/fuzzer.mk +++ b/mk/fuzzer.mk @@ -3,6 +3,7 @@ FUZZER_CRATE := $(S)src/fuzzer/fuzzer.rc FUZZER_INPUTS := $(wildcard $(addprefix $(S)src/fuzzer/, *.rs)) -stage1/fuzzer$(X): $(FUZZER_CRATE) $(FUZZER_INPUTS) $(SREQ1) +stage1/fuzzer$(X): $(FUZZER_CRATE) $(FUZZER_INPUTS) $(SREQ1) \ + stage1/lib/$(CFG_LIBRUSTC) @$(call E, compile_and_link: $@) $(STAGE1) -o $@ $< diff --git a/src/fuzzer/fuzzer.rc b/src/fuzzer/fuzzer.rc index 12e6562e702..473a7b20615 100644 --- a/src/fuzzer/fuzzer.rc +++ b/src/fuzzer/fuzzer.rc @@ -1,6 +1,7 @@ // -*- rust -*- use std; +use rustc; mod fuzzer;