Link the fuzzer crate to librustc again
This commit is contained in:
parent
5c9fb0bc98
commit
ccf6112f15
2 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
FUZZER_CRATE := $(S)src/fuzzer/fuzzer.rc
|
FUZZER_CRATE := $(S)src/fuzzer/fuzzer.rc
|
||||||
FUZZER_INPUTS := $(wildcard $(addprefix $(S)src/fuzzer/, *.rs))
|
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: $@)
|
@$(call E, compile_and_link: $@)
|
||||||
$(STAGE1) -o $@ $<
|
$(STAGE1) -o $@ $<
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
|
use rustc;
|
||||||
|
|
||||||
mod fuzzer;
|
mod fuzzer;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue