File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
templates/http-grain/content Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
- print("content-type: text/plain")
2
- print("")
3
- print("Hello, World")
1
+ module Main
2
+
3
+ provide let _start = () => {
4
+ print("content-type: text/plain")
5
+ print("")
6
+ print("Hello, World")
7
+ }
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ executor = { type = "wagi" }
15
15
source = " main.wasm"
16
16
allowed_outbound_hosts = []
17
17
[component .{{project-name | kebab_case}} .build ]
18
- command = " grain compile --release -o main.wasm main.gr"
18
+ command = " grain compile --release --use-start-section - o main.wasm main.gr"
19
19
watch = [" **/*.gr" ]
Original file line number Diff line number Diff line change @@ -628,7 +628,6 @@ Caused by:
628
628
#[ test]
629
629
#[ cfg( target_arch = "x86_64" ) ]
630
630
#[ cfg( feature = "extern-dependencies-tests" ) ]
631
- #[ ignore = "https://github.com/fermyon/spin/issues/2774" ]
632
631
fn http_grain_template_smoke_test ( ) -> anyhow:: Result < ( ) > {
633
632
http_smoke_test_template (
634
633
"http-grain" ,
You can’t perform that action at this time.
0 commit comments