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

They pass fine.
This commit is contained in:
Joshua Nelson
2023-03-30 07:34:55 -05:00
parent f2d9a3d077
commit 433da1fc04
696 changed files with 2 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
include ../tools.mk
all:
$(RUSTC) success.rs; [ $$? -eq 0 ]
$(RUSTC) --invalid-arg-foo; [ $$? -eq 1 ]
$(RUSTC) compile-error.rs; [ $$? -eq 1 ]
$(RUSTC) -Ztreat-err-as-bug compile-error.rs; [ $$? -eq 101 ]
$(RUSTDOC) -o $(TMPDIR)/exit-code success.rs; [ $$? -eq 0 ]
$(RUSTDOC) --invalid-arg-foo; [ $$? -eq 1 ]
$(RUSTDOC) compile-error.rs; [ $$? -eq 1 ]
$(RUSTDOC) lint-failure.rs; [ $$? -eq 1 ]
@@ -0,0 +1,3 @@
fn main() {
compile_error!("kaboom");
}
+6
View File
@@ -0,0 +1,6 @@
#![deny(broken_intra_doc_links)]
/// [intradoc::failure]
pub fn main() {
println!("Hello, world!");
}
+4
View File
@@ -0,0 +1,4 @@
/// Main function
fn main() {
println!("Hello, world!");
}