diff options
Diffstat (limited to 'goodfile')
-rw-r--r-- | goodfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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") |