Skip to content

Commit

Permalink
feat(component): wip component model support
Browse files Browse the repository at this point in the history
- upgrade to wasmtime>=13, wasmtime_wasi>=13
- the component model necessitated splitting the adapter setup into two parts:
  first creating the adapter so it can be associated with the state, then telling
  the linker how to get from the incoming state to the adapter. WASI also has this
  split.
- change the c bindings in observe-api:
  1. "_" is an illegal character! switch to "-".
  2. change the module name from "dylibso_observe" to "dylibso:observe/api"
  • Loading branch information
chrisdickinson committed Oct 4, 2023
1 parent 8fffa22 commit 64ebcbc
Show file tree
Hide file tree
Showing 15 changed files with 1,162 additions and 360 deletions.
683 changes: 342 additions & 341 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[workspace]
members = [ "rust" ]
exclude = [ "observe-api/rust", "observe-api/test/rust" ]
exclude = [ "observe-api/rust", "observe-api/test/rust", "corpus/" ]
resolver = "2"
Loading

0 comments on commit 64ebcbc

Please sign in to comment.