diff options
Diffstat (limited to 'tests/run-make-fulldeps/manual-link')
-rw-r--r-- | tests/run-make-fulldeps/manual-link/Makefile | 6 | ||||
-rw-r--r-- | tests/run-make-fulldeps/manual-link/bar.c | 1 | ||||
-rw-r--r-- | tests/run-make-fulldeps/manual-link/foo.c | 1 | ||||
-rw-r--r-- | tests/run-make-fulldeps/manual-link/foo.rs | 11 | ||||
-rw-r--r-- | tests/run-make-fulldeps/manual-link/main.rs | 5 |
5 files changed, 0 insertions, 24 deletions
diff --git a/tests/run-make-fulldeps/manual-link/Makefile b/tests/run-make-fulldeps/manual-link/Makefile deleted file mode 100644 index 401f6eb44..000000000 --- a/tests/run-make-fulldeps/manual-link/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -include ../tools.mk - -all: $(TMPDIR)/libbar.a - $(RUSTC) foo.rs -lstatic=bar - $(RUSTC) main.rs - $(call RUN,main) diff --git a/tests/run-make-fulldeps/manual-link/bar.c b/tests/run-make-fulldeps/manual-link/bar.c deleted file mode 100644 index e42599986..000000000 --- a/tests/run-make-fulldeps/manual-link/bar.c +++ /dev/null @@ -1 +0,0 @@ -void bar() {} diff --git a/tests/run-make-fulldeps/manual-link/foo.c b/tests/run-make-fulldeps/manual-link/foo.c deleted file mode 100644 index e42599986..000000000 --- a/tests/run-make-fulldeps/manual-link/foo.c +++ /dev/null @@ -1 +0,0 @@ -void bar() {} diff --git a/tests/run-make-fulldeps/manual-link/foo.rs b/tests/run-make-fulldeps/manual-link/foo.rs deleted file mode 100644 index c1f28236f..000000000 --- a/tests/run-make-fulldeps/manual-link/foo.rs +++ /dev/null @@ -1,11 +0,0 @@ -#![crate_type = "rlib"] - -extern "C" { - fn bar(); -} - -pub fn foo() { - unsafe { - bar(); - } -} diff --git a/tests/run-make-fulldeps/manual-link/main.rs b/tests/run-make-fulldeps/manual-link/main.rs deleted file mode 100644 index fe35f1f8e..000000000 --- a/tests/run-make-fulldeps/manual-link/main.rs +++ /dev/null @@ -1,5 +0,0 @@ -extern crate foo; - -fn main() { - foo::foo(); -} |