Skip to content

Commit

Permalink
Merge pull request #2894 from itowlson/fix-wits-not-playing-nicely-wi…
Browse files Browse the repository at this point in the history
…th-wasm-tools

Fix WITs not playing nicely with wasm-tools etc.
  • Loading branch information
itowlson authored Oct 25, 2024
2 parents b7415b2 + e4b31d9 commit 3eaba5f
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 3eaba5f

Please sign in to comment.