summaryrefslogtreecommitdiffstats
path: root/src/test/run-make/wasm-spurious-import/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make/wasm-spurious-import/Makefile')
-rw-r--r--src/test/run-make/wasm-spurious-import/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/run-make/wasm-spurious-import/Makefile b/src/test/run-make/wasm-spurious-import/Makefile
new file mode 100644
index 000000000..1bb59dc1b
--- /dev/null
+++ b/src/test/run-make/wasm-spurious-import/Makefile
@@ -0,0 +1,7 @@
+-include ../../run-make-fulldeps/tools.mk
+
+# only-wasm32-bare
+
+all:
+ $(RUSTC) main.rs -C overflow-checks=yes -C panic=abort -C lto -C opt-level=z --target wasm32-unknown-unknown
+ $(NODE) verify.js $(TMPDIR)/main.wasm