summaryrefslogtreecommitdiff
path: root/examples/rust/Cargo.toml
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-09-11 22:48:12 +0200
committerHenry Gressmann <mail@henrygressmann.de>2024-09-11 22:48:12 +0200
commitc5f45ff56f7538944d92d5d318a01d10da04535c (patch)
tree589c7c3af38c46441c798ce307c96acca637c314 /examples/rust/Cargo.toml
parent0ed6acf459ff941f3b20b3e7462e4ba1cf7fdbe5 (diff)
ci: improve no_std testing, add linux arm64
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'examples/rust/Cargo.toml')
-rw-r--r--examples/rust/Cargo.toml11
1 files changed, 10 insertions, 1 deletions
diff --git a/examples/rust/Cargo.toml b/examples/rust/Cargo.toml
index f691a1b..5c6b710 100644
--- a/examples/rust/Cargo.toml
+++ b/examples/rust/Cargo.toml
@@ -10,8 +10,13 @@ forced-target="wasm32-unknown-unknown"
edition="2021"
[dependencies]
-tinywasm={path="../../crates/tinywasm", features=["parser", "std"]}
+tinywasm={path="../../crates/tinywasm", default-features=false, features=["parser", "archive"]}
argon2={version="0.5"}
+lol_alloc="0.4.1"
+
+[features]
+default=["std"]
+std=["tinywasm/std"]
[[bin]]
name="hello"
@@ -26,6 +31,10 @@ name="tinywasm"
path="src/tinywasm.rs"
[[bin]]
+name="tinywasm_no_std"
+path="src/tinywasm_no_std.rs"
+
+[[bin]]
name="fibonacci"
path="src/fibonacci.rs"