aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-25 20:42:30 -0700
committeriximeow <me@iximeow.net>2024-06-25 20:42:30 -0700
commit90f05466987c185bc4c37c8be1c4ebab3b2f548d (patch)
tree554ae8aad0a48110008743672676e2359c109308 /Makefile
parent1b5cc1daf35e60a9f78158b261a443f2fffd2fcc (diff)
fix yaxpeax-arch not building for non-x86 targets when alloc is not enabled
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index efe5c3f..57c8615 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,9 @@
-test: test-std test-no-std test-serde-no-std test-colors-no-std test-color-new-no-std test-alloc-no-std
+test: build-smoketest test-std test-no-std test-serde-no-std test-colors-no-std test-color-new-no-std test-alloc-no-std
+
+build-smoketest:
+ cargo build
+ cargo build --no-default-features
+ cargo build --no-default-features --target wasm32-wasi
test-std:
cargo test