File tree 4 files changed +18
-2
lines changed
tests/test-components/helper/src
4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ wasmtime::component::bindgen!({
10
10
include fermyon:spin/host;
11
11
include fermyon:spin/platform@2.0.0;
12
12
include fermyon:spin/platform@3.0.0;
13
+ include spin:spin/platform@3.2.0;
13
14
include wasi:keyvalue/imports@0.2.0-draft2;
14
15
}
15
16
"# ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use bindings::wasi::io0_2_0::streams::OutputStream;
17
17
#[ cfg( feature = "define-component" ) ]
18
18
pub mod http_trigger_bindings {
19
19
wit_bindgen:: generate!( {
20
- world: "fermyon :spin/http-trigger@3.0 .0" ,
20
+ world: "spin :spin/http-trigger@3.2 .0" ,
21
21
path: "../../../wit" ,
22
22
generate_all,
23
23
pub_export_macro: true ,
Original file line number Diff line number Diff line change
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
+ include wasi :keyvalue /imports @ 0.2.0-draft2 ;
13
+ import spin :postgres /postgres @ 3.0.0 ;
14
+ import wasi :config /store @ 0.2.0-draft-2024-09-27 ;
15
+ }
Original file line number Diff line number Diff line change 1
- package fermyon : spin @ 3.0 .0;
1
+ package spin : spin @ 3.2 .0;
2
2
3
3
/// The full world of a guest targeting an http-trigger
4
4
world http-trigger {
You can’t perform that action at this time.
0 commit comments