Skip to content

Commit

Permalink
Fix WITs not playing nicely with wasm-tools etc.
Browse files Browse the repository at this point in the history
Signed-off-by: itowlson <[email protected]>
  • Loading branch information
itowlson committed Oct 24, 2024
1 parent b7415b2 commit e4b31d9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
13 changes: 0 additions & 13 deletions wit/deps/[email protected]/world.wit

This file was deleted.

14 changes: 13 additions & 1 deletion wit/world.wit
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
package spin:top-level;
package fermyon:spin@3.0.0;

/// The full world of a guest targeting an http-trigger
world http-trigger {
include platform;
export wasi:http/incoming-handler@0.2.0;
}

/// The imports needed for a guest to run on a Spin host
world platform {
include fermyon:spin/platform@2.0.0;
import wasi:config/store@0.2.0-draft-2024-09-27;
}

0 comments on commit e4b31d9

Please sign in to comment.