about summary refs log tree commit diff
path: root/tests/run-make-fulldeps/panic-impl-transitive
diff options
context:
space:
mode:
authorJoshua Nelson <github@jyn.dev>2023-03-30 07:34:55 -0500
committerJoshua Nelson <github@jyn.dev>2023-03-30 07:34:55 -0500
commit433da1fc047bb39a263eefca4bdb2b1972f1d2ce (patch)
tree28540e78fdd5fdf158267e67495121ac64f0866a /tests/run-make-fulldeps/panic-impl-transitive
parentf2d9a3d0771504f1ae776226a5799dcb4408a91a (diff)
Move almost all run-make-fulldeps to run-make
They pass fine.
Diffstat (limited to 'tests/run-make-fulldeps/panic-impl-transitive')
-rw-r--r--tests/run-make-fulldeps/panic-impl-transitive/Makefile7
-rw-r--r--tests/run-make-fulldeps/panic-impl-transitive/panic-impl-consumer.rs5
-rw-r--r--tests/run-make-fulldeps/panic-impl-transitive/panic-impl-provider.rs9
3 files changed, 0 insertions, 21 deletions
diff --git a/tests/run-make-fulldeps/panic-impl-transitive/Makefile b/tests/run-make-fulldeps/panic-impl-transitive/Makefile
deleted file mode 100644
index c3192efcb5a..00000000000
--- a/tests/run-make-fulldeps/panic-impl-transitive/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-include ../../run-make-fulldeps/tools.mk
-
-# NOTE we use --emit=llvm-ir to avoid running the linker (linking will fail because there's no main
-# in this crate)
-all:
-	$(RUSTC) panic-impl-provider.rs
-	$(RUSTC) panic-impl-consumer.rs -C panic=abort --emit=llvm-ir -L $(TMPDIR)
diff --git a/tests/run-make-fulldeps/panic-impl-transitive/panic-impl-consumer.rs b/tests/run-make-fulldeps/panic-impl-transitive/panic-impl-consumer.rs
deleted file mode 100644
index 82a98b12d04..00000000000
--- a/tests/run-make-fulldeps/panic-impl-transitive/panic-impl-consumer.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-#![no_std]
-#![no_main]
-
-// this crate provides the `panic_impl` lang item so we don't need to define it here
-extern crate panic_impl_provider;
diff --git a/tests/run-make-fulldeps/panic-impl-transitive/panic-impl-provider.rs b/tests/run-make-fulldeps/panic-impl-transitive/panic-impl-provider.rs
deleted file mode 100644
index f1b9873c83a..00000000000
--- a/tests/run-make-fulldeps/panic-impl-transitive/panic-impl-provider.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-#![crate_type = "rlib"]
-#![no_std]
-
-use core::panic::PanicInfo;
-
-#[panic_handler]
-fn panic(info: &PanicInfo) -> ! {
-    loop {}
-}