Skip to content

docs(rust): redesign the guides for SDK 0.17.1 - #334

Open
hydai wants to merge 1 commit into
mainfrom
docs/rust-sdk-0.17.1
Open

hydai wants to merge 1 commit into
mainfrom
docs/rust-sdk-0.17.1

Conversation

@hydai

@hydai hydai commented Dec 3, 2026

Copy link
Copy Markdown
Member

Explanation

The Rust quick start still showed SDK 0.11.0, and several guides sent readers to external examples. This update shows how to run a first Wasm function with SDK 0.17.1 and how to upgrade an existing Rust host. Each tutorial includes code and the result readers should see.

Related issue

None linked.

What type of PR is this

/kind documentation

Proposed Changes

  • Show how a Rust host calls a Wasm export, passes arguments to a WASI command, provides a host function, and exchanges strings through guest memory.
  • Add examples for async host functions, native plug-ins, and WASI-NN inference. Build the bird classifier from pinned source so its guest bindings work with the 0.17.1 TensorFlow Lite plug-in.
  • Document runtime configuration, linking options, and the upgrade steps for hosts using SDK 0.13.x or 0.14.0. Keep the existing guide URLs.

Validation

  • Built all three site locales and checked 167 internal links across 20 English pages.
  • Ran the quick start, WASI, host function, guest memory, memory limit, and plug-in examples on macOS Arm64. The example native plug-in returned 42.
  • Ran the async host function and TensorFlow Lite classifier on Linux Arm64. The classifier identified the sample bird as a Mandarin duck.

@hydai
hydai requested a review from dm4 December 3, 2026 08:30
@hydai
hydai enabled auto-merge (squash) December 3, 2026 08:30
Signed-off-by: hydai <z54981220@gmail.com>
@hydai
hydai force-pushed the docs/rust-sdk-0.17.1 branch from 65645c3 to eb2bffc Compare December 3, 2026 14:23

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant