From 461126ce309f99e4ad2a6ddcbc175ea01c5e8fee Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Fri, 26 Jan 2024 01:26:09 +0100 Subject: feat: full no_std support Signed-off-by: Henry Gressmann --- examples/rust/Cargo.toml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 examples/rust/Cargo.toml (limited to 'examples/rust/Cargo.toml') diff --git a/examples/rust/Cargo.toml b/examples/rust/Cargo.toml new file mode 100644 index 0000000..91b6aed --- /dev/null +++ b/examples/rust/Cargo.toml @@ -0,0 +1,23 @@ +cargo-features=["per-package-target"] + +[package] +publish=false +name="rust-wasm-examples" +forced-target="wasm32-unknown-unknown" +edition="2021" + +[dependencies] +tinywasm={path="../../crates/tinywasm", default-features=false, features=["parser"]} +embedded-alloc={version="0.5"} + +[[bin]] +name="hello" +path="src/hello.rs" + +[[bin]] +name="tinywasm" +path="src/tinywasm.rs" + +[profile.release] +opt-level="z" +panic="abort" -- cgit v1.3.1