mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:06:44 +01:00
0148daa058
Each stage is organized more according to Unix standards and to accommodate multiple target architectures. stageN/ bin - rustc lives here lib - libraries that rustc needs lib/rustc/$(target_triple/ - target libraries
10 lines
349 B
Makefile
10 lines
349 B
Makefile
# At the moment the fuzzer only exists in stage1.
|
|
|
|
FUZZER_CRATE := $(S)src/fuzzer/fuzzer.rc
|
|
FUZZER_INPUTS := $(wildcard $(addprefix $(S)src/fuzzer/, *.rs))
|
|
|
|
stage1/bin/fuzzer$(X): $(FUZZER_CRATE) $(FUZZER_INPUTS) $(SREQ1) \
|
|
stage1/lib/rustc/$(CFG_HOST_TRIPLE)/$(CFG_LIBRUSTC)
|
|
@$(call E, compile_and_link: $@)
|
|
$(STAGE1) -o $@ $<
|