Auto merge of #109770 - jyn514:run-make-fulldeps, r=Mark-Simulacrum

Move almost all run-make-fulldeps tests to run-make

They pass fine, and this avoids having to build the compiler twice.

There are few enough tests left that I think it should be possible to get rid of this test suite altogether, but I expect this PR to fail at least a few times in bors and want to get it merged before tackling further changes. cc https://github.com/rust-lang/rust/pull/83775

Fixes https://github.com/rust-lang/rust/issues/66085. Fixes https://github.com/rust-lang/rust/issues/83773.
This commit is contained in:
bors 2023-04-03 01:34:05 +00:00
commit 33289132ec
774 changed files with 226 additions and 95 deletions

View File

@ -1,4 +1,4 @@
include ../tools.mk
include ../../run-make/tools.mk
# ignore-stage1

View File

@ -1,4 +1,4 @@
include ../tools.mk
include ../../run-make/tools.mk
# This test ensures that rustc compile_input can be called twice in one task
# without causing a panic.

View File

@ -1,5 +0,0 @@
include ../tools.mk
all: $(call NATIVE_STATICLIB,test)
$(RUSTC) test.rs
$(call RUN,test) || exit 1

View File

@ -1,4 +1,4 @@
include ../tools.mk
include ../../run-make/tools.mk
# This example shows how to implement a rustc driver that retrieves MIR bodies
# together with the borrow checker information.

View File

@ -1,4 +1,4 @@
include ../tools.mk
include ../../run-make/tools.mk
all:
$(RUSTC) -o $(TMPDIR)/input.expanded.rs -Zunpretty=expanded input.rs

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
# Test that if we build `b` against a version of `a` that has one set

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
# Test that -A warnings makes the 'empty trait list for derive' warning go away

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
# Test that -A warnings makes the 'empty trait list for derive' warning go away

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
# ignore-macos

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
# ignore-macos

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
all: $(TMPDIR)/$(call BIN,bar)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
# ignore-freebsd

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
all: $(call NATIVE_STATICLIB,cfoo)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
all: $(call NATIVE_STATICLIB,cfoo)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
all: archive

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
all: $(call NATIVE_STATICLIB,add)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
TARGET_SYSROOT := $(shell $(RUSTC) --print sysroot)/lib/rustlib/$(TARGET)/lib

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
# Test that allocator-related symbols don't show up as exported from a cdylib as
# they're internal to Rust and not part of the public ABI.

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
all: $(call RUN_BINFILE,foo)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk
all:

View File

@ -1,5 +1,8 @@
include ../tools.mk
# ignore-wasm32 (need a C compiler)
# ignore-wasm64 (need a C compiler)
all: $(TMPDIR)/libnative.a
mkdir -p $(TMPDIR)/crate
mkdir -p $(TMPDIR)/native

View File

@ -1,4 +1,4 @@
include ../../run-make-fulldeps/tools.mk
include ../tools.mk
all:
$(RUSTC) main.rs --emit=mir -o "$(TMPDIR)"/dump.mir

View File

@ -3,4 +3,4 @@
#
# include ../coverage/coverage_tools.mk
include ../../run-make-fulldeps/tools.mk
include ../tools.mk

View File

@ -1,4 +1,5 @@
include ../../run-make-fulldeps/tools.mk
# ignore-cross-compile
include ../tools.mk
# Ensure that crates compiled with different rustc versions cannot
# be dynamically linked.

Some files were not shown because too many files have changed in this diff Show More