File tree Expand file tree Collapse file tree 2 files changed +26
-7
lines changed
Expand file tree Collapse file tree 2 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 11-include ../tools.mk
22
3- all :
3+ # This test attempts to use syntax extensions, which are known to be
4+ # incompatible with stage1 at the moment.
5+
6+ ifeq ($(RUST_BUILD_STAGE ) ,1)
7+ DOTEST =
8+ else
9+ DOTEST =dotest
10+ endif
11+
12+ all : $(DOTEST )
13+
14+ dotest :
15+ env
416 $(RUSTC ) lib.rs
517 $(RUSTC ) main.rs -Z lto
618 $(call RUN,main)
Original file line number Diff line number Diff line change 11-include ../tools.mk
22
3+ # This test attempts to run rustc itself from the compiled binary; but
4+ # that means that you need to set the LD_LIBRARY_PATH for rustc itself
5+ # while running multiple_files, and that won't work for stage1.
6+
37# FIXME ignore windows
48ifndef IS_WINDOWS
9+ ifeq ($(RUST_BUILD_STAGE ) ,1)
10+ DOTEST =
11+ else
12+ DOTEST =dotest
13+ endif
14+ endif
15+
16+ all : $(DOTEST )
517
6- all :
18+ dotest :
719 # check that we don't ICE on unicode input, issue #11178
820 $(RUSTC ) multiple_files.rs
921 $(call RUN,multiple_files) " $( RUSTC) " " $( TMPDIR) "
1224 # correct length. issue #8706
1325 $(RUSTC) span_length.rs
1426 $(call RUN,span_length) "$(RUSTC)" "$(TMPDIR)"
15-
16- else
17- all :
18-
19- endif
You can’t perform that action at this time.
0 commit comments