aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-25 20:42:48 -0700
committeriximeow <me@iximeow.net>2024-06-25 20:49:03 -0700
commita79de0575f95fff6f031df8e30703045bbb0037b (patch)
tree9ab53596c80653a82671438505c181db7b22fcc9
parent90f05466987c185bc4c37c8be1c4ebab3b2f548d (diff)
-rw-r--r--Cargo.toml2
-rw-r--r--goodfile3
2 files changed, 3 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 30e0af9..ca47d5b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,7 +7,7 @@ keywords = ["disassembly", "disassembler"]
license = "0BSD"
name = "yaxpeax-arch"
repository = "https://git.iximeow.net/yaxpeax-arch/"
-version = "0.3.1"
+version = "0.3.2"
[dependencies]
"num-traits" = { version = "0.2", default-features = false }
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")