Skip to content

Commit e4b31d9

Browse files
committed
Fix WITs not playing nicely with wasm-tools etc.
Signed-off-by: itowlson <[email protected]>
1 parent b7415b2 commit e4b31d9

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

wit/deps/[email protected]/world.wit

Lines changed: 0 additions & 13 deletions
This file was deleted.

wit/world.wit

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
package spin:top-level;
1+
package fermyon:spin@3.0.0;
2+
3+
/// The full world of a guest targeting an http-trigger
4+
world http-trigger {
5+
include platform;
6+
export wasi:http/incoming-handler@0.2.0;
7+
}
8+
9+
/// The imports needed for a guest to run on a Spin host
10+
world platform {
11+
include fermyon:spin/platform@2.0.0;
12+
import wasi:config/store@0.2.0-draft-2024-09-27;
13+
}

0 commit comments

Comments
 (0)