diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-01-26 01:26:09 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-01-26 01:26:09 +0100 |
| commit | 461126ce309f99e4ad2a6ddcbc175ea01c5e8fee (patch) | |
| tree | 30de8bcfec97f87d468191fb9959f90e7ee91100 /examples/rust/Cargo.toml | |
| parent | b9a4e8788f374dac94e4f3f5b062dbe2a1d2a10c (diff) | |
feat: full no_std support
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
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" |
