Skip to content

This repository demonstrate how to use component model with wasmtime.

Notifications You must be signed in to change notification settings

cpetig/component-model-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A (fixed) demo showing how to use component model with Wasmtime

Nix (flake) users:

direnv allow
# or
nix develop

Others: Make sure you have wasm32-unknown-unknown installed

Running this demo

cargo build -p guest --target wasm32-unknown-unknown
cargo run -p host

Details

For more details, please read the comments in the source code.

Or you can refer to blog post. however its outdated.

About

This repository demonstrate how to use component model with wasmtime.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 68.9%
  • Nix 31.1%