File tree 3 files changed +5
-14
lines changed
incr-prev-body-beyond-eof
issue-83112-incr-test-moved-file
3 files changed +5
-14
lines changed Original file line number Diff line number Diff line change 1
1
include ../../run-make-fulldeps/tools.mk
2
2
3
- # FIXME https://github.com/rust-lang/rust/issues/78911
4
- # ignore-32bit wrong/no cross compiler and sometimes we pass wrong gcc args (-m64)
5
-
6
3
# Tests that we don't ICE during incremental compilation after modifying a
7
4
# function span such that its previous end line exceeds the number of lines
8
5
# in the new file, but its start line/column and length remain the same.
14
11
mkdir $(SRC )
15
12
mkdir $(INCR )
16
13
cp a.rs $(SRC ) /main.rs
17
- $(RUSTC ) -C incremental=$(INCR ) $(SRC ) /main.rs
14
+ $(RUSTC ) -C incremental=$(INCR ) $(SRC ) /main.rs --target $( TARGET )
18
15
cp b.rs $(SRC ) /main.rs
19
- $(RUSTC ) -C incremental=$(INCR ) $(SRC ) /main.rs
16
+ $(RUSTC ) -C incremental=$(INCR ) $(SRC ) /main.rs --target $( TARGET )
Original file line number Diff line number Diff line change 1
1
include ../../run-make-fulldeps/tools.mk
2
2
3
- # FIXME https://github.com/rust-lang/rust/issues/78911
4
- # ignore-32bit wrong/no cross compiler and sometimes we pass wrong gcc args (-m64)
5
-
6
3
all : foo
7
4
$(call RUN,foo)
8
5
9
6
foo : foo.rs $(call NATIVE_STATICLIB,foo)
10
- $(RUSTC ) $< -lfoo $(EXTRARSCXXFLAGS )
7
+ $(RUSTC ) $< -lfoo $(EXTRARSCXXFLAGS ) --target $( TARGET )
11
8
12
9
$(TMPDIR ) /libfoo.o : foo.cpp
13
10
$(call COMPILE_OBJ_CXX,$@ ,$< )
Original file line number Diff line number Diff line change 1
1
include ../../run-make-fulldeps/tools.mk
2
2
3
- # FIXME https://github.com/rust-lang/rust/issues/78911
4
- # ignore-32bit wrong/no cross compiler and sometimes we pass wrong gcc args (-m64)
5
-
6
3
# Regression test for issue #83112
7
4
# The generated test harness code contains spans with a dummy location,
8
5
# but a non-dummy SyntaxContext. Previously, the incremental cache was encoding
20
17
mkdir $(SRC ) /mydir
21
18
mkdir $(INCR )
22
19
cp main.rs $(SRC ) /main.rs
23
- $(RUSTC ) --test -C incremental=$(INCR ) $(SRC ) /main.rs
20
+ $(RUSTC ) --test -C incremental=$(INCR ) $(SRC ) /main.rs --target $( TARGET )
24
21
mv $(SRC ) /main.rs $(SRC ) /mydir/main.rs
25
- $(RUSTC ) --test -C incremental=$(INCR ) $(SRC ) /mydir/main.rs
22
+ $(RUSTC ) --test -C incremental=$(INCR ) $(SRC ) /mydir/main.rs --target $( TARGET )
You can’t perform that action at this time.
0 commit comments