aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--goodfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/goodfile b/goodfile
index 97b5ffa..6a5cb99 100644
--- a/goodfile
+++ b/goodfile
@@ -3,6 +3,9 @@ Build.dependencies({"git", "make", "rustc", "cargo"})
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({"cargo", "build", "--no-default-features", "--target", "wasm32-wasi"})
Step.advance("test")
-- TODO: set `-D warnings` here and below...