1 2 3 4 5 6 7
include ../tools.mk # only-wasm32-bare all: $(RUSTC) foo.rs --target wasm32-unknown-unknown $(NODE) foo.js $(TMPDIR)/foo.wasm