diff options
Diffstat (limited to 'examples/rust/Cargo.toml')
| -rw-r--r-- | examples/rust/Cargo.toml | 23 |
1 files changed, 23 insertions, 0 deletions
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" |
