This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-14
lines changed
incr-prev-body-beyond-eof
issue-83112-incr-test-moved-file Expand file tree Collapse file tree 3 files changed +5
-14
lines changed Original file line number Diff line number Diff line change 11include ../../run-make-fulldeps/tools.mk
22
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-
63# Tests that we don't ICE during incremental compilation after modifying a
74# function span such that its previous end line exceeds the number of lines
85# in the new file, but its start line/column and length remain the same.
1411 mkdir $(SRC )
1512 mkdir $(INCR )
1613 cp a.rs $(SRC ) /main.rs
17- $(RUSTC ) -C incremental=$(INCR ) $(SRC ) /main.rs
14+ $(RUSTC ) -C incremental=$(INCR ) $(SRC ) /main.rs --target $( TARGET )
1815 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 11include ../../run-make-fulldeps/tools.mk
22
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-
63all : foo
74 $(call RUN,foo)
85
96foo : foo.rs $(call NATIVE_STATICLIB,foo)
10- $(RUSTC ) $< -lfoo $(EXTRARSCXXFLAGS )
7+ $(RUSTC ) $< -lfoo $(EXTRARSCXXFLAGS ) --target $( TARGET )
118
129$(TMPDIR ) /libfoo.o : foo.cpp
1310 $(call COMPILE_OBJ_CXX,$@ ,$< )
Original file line number Diff line number Diff line change 11include ../../run-make-fulldeps/tools.mk
22
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-
63# Regression test for issue #83112
74# The generated test harness code contains spans with a dummy location,
85# but a non-dummy SyntaxContext. Previously, the incremental cache was encoding
2017 mkdir $(SRC ) /mydir
2118 mkdir $(INCR )
2219 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 )
2421 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