mirror of https://github.com/rust-lang/rust.git
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:
commit
33289132ec
|
@ -1,4 +1,4 @@
|
|||
include ../tools.mk
|
||||
include ../../run-make/tools.mk
|
||||
|
||||
# ignore-stage1
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
include ../tools.mk
|
||||
|
||||
all: $(call NATIVE_STATICLIB,test)
|
||||
$(RUSTC) test.rs
|
||||
$(call RUN,test) || exit 1
|
|
@ -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.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
include ../tools.mk
|
||||
include ../../run-make/tools.mk
|
||||
|
||||
all:
|
||||
$(RUSTC) -o $(TMPDIR)/input.expanded.rs -Zunpretty=expanded input.rs
|
||||
|
|
|
@ -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
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
# Test that -A warnings makes the 'empty trait list for derive' warning go away
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
# Test that -A warnings makes the 'empty trait list for derive' warning go away
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all:
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all:
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all:
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
# ignore-macos
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
# ignore-macos
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all: $(TMPDIR)/$(call BIN,bar)
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
# ignore-freebsd
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all:
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all: $(call NATIVE_STATICLIB,cfoo)
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all: $(call NATIVE_STATICLIB,cfoo)
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all: archive
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all: $(call NATIVE_STATICLIB,add)
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
TARGET_SYSROOT := $(shell $(RUSTC) --print sysroot)/lib/rustlib/$(TARGET)/lib
|
|
@ -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.
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all: $(call RUN_BINFILE,foo)
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all:
|
|
@ -1,3 +1,4 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all:
|
|
@ -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
|
|
@ -1,4 +1,4 @@
|
|||
include ../../run-make-fulldeps/tools.mk
|
||||
include ../tools.mk
|
||||
|
||||
all:
|
||||
$(RUSTC) main.rs --emit=mir -o "$(TMPDIR)"/dump.mir
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
#
|
||||
# include ../coverage/coverage_tools.mk
|
||||
|
||||
include ../../run-make-fulldeps/tools.mk
|
||||
include ../tools.mk
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue