File tree 2 files changed +26
-7
lines changed 2 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 1
1
-include ../tools.mk
2
2
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
4
16
$(RUSTC ) lib.rs
5
17
$(RUSTC ) main.rs -Z lto
6
18
$(call RUN,main)
Original file line number Diff line number Diff line change 1
1
-include ../tools.mk
2
2
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 muliple_files, and that won't work for stage1.
6
+
3
7
# FIXME ignore windows
4
8
ifndef IS_WINDOWS
9
+ ifeq ($(RUST_BUILD_STAGE ) ,1)
10
+ DOTEST =
11
+ else
12
+ DOTEST =dotest
13
+ endif
14
+ endif
15
+
16
+ all : $(DOTEST )
5
17
6
- all :
18
+ dotest :
7
19
# check that we don't ICE on unicode input, issue #11178
8
20
$(RUSTC ) multiple_files.rs
9
21
$(call RUN,multiple_files) " $( RUSTC) " " $( TMPDIR) "
12
24
# correct length. issue #8706
13
25
$(RUSTC) span_length.rs
14
26
$(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