diff options
Diffstat (limited to 'tests/run-make/static-extern-type/Makefile')
-rw-r--r-- | tests/run-make/static-extern-type/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-make/static-extern-type/Makefile b/tests/run-make/static-extern-type/Makefile new file mode 100644 index 000000000..778971543 --- /dev/null +++ b/tests/run-make/static-extern-type/Makefile @@ -0,0 +1,6 @@ +# ignore-cross-compile +include ../tools.mk + +all: $(call NATIVE_STATICLIB,define-foo) + $(RUSTC) -ldefine-foo use-foo.rs + $(call RUN,use-foo) || exit 1 |