diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-01-26 15:16:05 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-01-26 15:16:05 +0100 |
| commit | d8d439e6401607fab18feb5025f3b91f135e3a50 (patch) | |
| tree | f20f1d5961a5b0810cceca575a206ad45d2a3a9c /examples/rust/Cargo.toml | |
| parent | 67f0fd68f1f60f0629d997d5181e5e06440258d7 (diff) | |
feat: add more examples, work on new public api
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'examples/rust/Cargo.toml')
| -rw-r--r-- | examples/rust/Cargo.toml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/rust/Cargo.toml b/examples/rust/Cargo.toml index 9ff80dc..d557392 100644 --- a/examples/rust/Cargo.toml +++ b/examples/rust/Cargo.toml @@ -1,5 +1,8 @@ cargo-features=["per-package-target"] +# treat this as an independent package +[workspace] + [package] publish=false name="rust-wasm-examples" @@ -16,3 +19,14 @@ path="src/hello.rs" [[bin]] name="tinywasm" path="src/tinywasm.rs" + +[[bin]] +name="fibonacci" +path="src/fibonacci.rs" + +[profile.wasm] +opt-level="s" +lto="thin" +codegen-units=1 +panic="abort" +inherits="release" |
