File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: a8e8585fbc9766d6d65c537c89e960954529e45e
2
+ refs/heads/master: aa40d61d5d8299ba72b390cabe4994bbf985c14c
Original file line number Diff line number Diff line change 5
5
FUZZER_CRATE := $(S ) src/fuzzer/fuzzer.rc
6
6
FUZZER_INPUTS := $(wildcard $(addprefix $(S ) src/fuzzer/, * .rs) )
7
7
8
- stage2/fuzzer.o : $(FUZZER_CRATE ) $(FUZZER_INPUTS ) $(SREQ1 )
8
+ stage2/fuzzer.o : $(FUZZER_CRATE ) $(FUZZER_INPUTS ) $(SREQ1 ) \
9
+ stage2/$(CFG_RUSTCLIB )
9
10
@$(call E, compile: $@ )
10
11
$(STAGE1 ) -c -o $@ $<
12
+
13
+ stage2/fuzzer$(X ) : stage2/fuzzer.o $(SREQ1 )
14
+ @$(call E, link [gcc]: $@ )
15
+ $(Q ) gcc $(CFG_GCC_CFLAGS ) stage2/glue.o -o $@ $< \
16
+ -Lstage2 -Lrustllvm -Lrt -lrustrt -lrustllvm -lstd -lm -lrustc
17
+ @# dsymutil sometimes fails or prints a warning, but the
18
+ @# program still runs. Since it simplifies debugging other
19
+ @# programs, I\'ll live with the noise.
20
+ -$(Q)$(CFG_DSYMUTIL) $@
Original file line number Diff line number Diff line change 1
- fn main ( ) {
1
+ fn main ( vec[ str] args ) {
2
+ rustc. driver . rustc . main ( args) ;
2
3
}
Original file line number Diff line number Diff line change 1
1
// -*- rust -*-
2
2
3
3
use std;
4
+ use rustc;
4
5
5
6
mod Fuzzer ;
6
7
You can’t perform that action at this time.
0 commit comments