File tree 2 files changed +28
-2
lines changed 2 files changed +28
-2
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
+ endif
9
+ ifeq ($(RUST_BUILD_STAGE ) ,"2")
10
+ DOTEST =dotest
11
+ endif
12
+
13
+ all : $(DOTEST )
14
+
15
+ dotest :
16
+ env
4
17
$(RUSTC ) lib.rs
5
18
$(RUSTC ) main.rs -Z lto
6
19
$(call RUN,main)
Original file line number Diff line number Diff line change 1
1
-include ../tools.mk
2
2
3
- all :
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
+
7
+ ifeq ($(RUST_BUILD_STAGE ) ,"1")
8
+ DOTEST =
9
+ endif
10
+ ifeq ($(RUST_BUILD_STAGE ) ,"2")
11
+ DOTEST =dotest
12
+ endif
13
+
14
+ all : $(DOTEST )
15
+
16
+ dotest :
4
17
# check that we don't ICE on unicode input, issue #11178
5
18
$(RUSTC ) multiple_files.rs
6
19
$(call RUN,multiple_files) " $( RUSTC) " " $( TMPDIR) "
You can’t perform that action at this time.
0 commit comments