aboutsummaryrefslogtreecommitdiff
path: root/goodfile
diff options
context:
space:
mode:
Diffstat (limited to 'goodfile')
-rw-r--r--goodfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/goodfile b/goodfile
index 6a5cb99..92ebdf0 100644
--- a/goodfile
+++ b/goodfile
@@ -1,10 +1,11 @@
-Build.dependencies({"git", "make", "rustc", "cargo"})
+Build.dependencies({"git", "make", "rustc", "cargo", "rustup"})
Step.start("crate")
Step.push("build")
Build.run({"cargo", "build"})
-- and now that some code is conditional on target arch, at least try to build
-- for other architectures even if we might not be able to run on them.
+Build.run({"rustup", "target", "add", "wasm32-wasi"})
Build.run({"cargo", "build", "--no-default-features", "--target", "wasm32-wasi"})
Step.advance("test")