diff options
Diffstat (limited to 'tests/run-make/wasm-symbols-not-imported/Makefile')
-rw-r--r-- | tests/run-make/wasm-symbols-not-imported/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/run-make/wasm-symbols-not-imported/Makefile b/tests/run-make/wasm-symbols-not-imported/Makefile new file mode 100644 index 000000000..dc7618c19 --- /dev/null +++ b/tests/run-make/wasm-symbols-not-imported/Makefile @@ -0,0 +1,13 @@ +include ../../run-make-fulldeps/tools.mk + +# only-wasm32-bare + +all: + $(RUSTC) foo.rs --target wasm32-unknown-unknown + $(NODE) verify-no-imports.js $(TMPDIR)/foo.wasm + $(RUSTC) foo.rs --target wasm32-unknown-unknown -C lto + $(NODE) verify-no-imports.js $(TMPDIR)/foo.wasm + $(RUSTC) foo.rs --target wasm32-unknown-unknown -O + $(NODE) verify-no-imports.js $(TMPDIR)/foo.wasm + $(RUSTC) foo.rs --target wasm32-unknown-unknown -O -C lto + $(NODE) verify-no-imports.js $(TMPDIR)/foo.wasm |