]> git.proxmox.com Git - rustc.git/blobdiff - tests/run-make-fulldeps/no-builtins-lto/Makefile
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / run-make-fulldeps / no-builtins-lto / Makefile
diff --git a/tests/run-make-fulldeps/no-builtins-lto/Makefile b/tests/run-make-fulldeps/no-builtins-lto/Makefile
deleted file mode 100644 (file)
index c8f05d9..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-include ../tools.mk
-
-all:
-       # Compile a `#![no_builtins]` rlib crate
-       $(RUSTC) no_builtins.rs
-       # Build an executable that depends on that crate using LTO. The no_builtins crate doesn't
-       # participate in LTO, so its rlib must be explicitly linked into the final binary. Verify this by
-       # grepping the linker arguments.
-       $(RUSTC) main.rs -C lto --print link-args | $(CGREP) 'libno_builtins.rlib'