File tree Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -211,3 +211,4 @@ include $(CFG_SRC_DIR)/mk/dist.mk
211
211
include $(CFG_SRC_DIR ) /mk/snap.mk
212
212
include $(CFG_SRC_DIR ) /mk/clean.mk
213
213
include $(CFG_SRC_DIR ) /mk/autodep.mk
214
+ include $(CFG_SRC_DIR ) /mk/fuzzer.mk
Original file line number Diff line number Diff line change
1
+ # At the moment the fuzzer only exists in stage2. That's the first
2
+ # stage built by the non-snapshot compiler so it seems a convenient
3
+ # stage to work at.
4
+
5
+ FUZZER_CRATE := $(S ) src/fuzzer/fuzzer.rc
6
+ FUZZER_INPUTS := $(wildcard $(addprefix $(S ) src/fuzzer/, * .rs) )
7
+
8
+ stage2/fuzzer.o : $(FUZZER_CRATE ) $(FUZZER_INPUTS ) $(SREQ1 )
9
+ @$(call E, compile: $@ )
10
+ $(STAGE1 ) -c -o $@ $<
Original file line number Diff line number Diff line change
1
+ fn main ( ) {
2
+ }
Original file line number Diff line number Diff line change
1
+ // -*- rust -*-
2
+
3
+ use std;
4
+
5
+ mod Fuzzer ;
6
+
7
+ // Local Variables:
8
+ // fill-column: 78;
9
+ // indent-tabs-mode: nil
10
+ // c-basic-offset: 4
11
+ // buffer-file-coding-system: utf-8-unix
12
+ // compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
13
+ // End:
You can’t perform that action at this time.
0 commit comments