Skip to content

Commit ecb4dae

Browse files
committed
Highlight template for downlevel hosts
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
1 parent e430b86 commit ecb4dae

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

content/v4/quickstart.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,9 @@ You'll need the TinyGo compiler, as the standard Go compiler does not yet suppor
231231
{{card_element "template" "Zola SSG Template" "A template for using Zola framework to create a static webpage" "/hub/preview/template_zola_ssg" "rust" true }}
232232
{{blockEnd}}
233233

234-
Now you are ready to create your first Spin application:
234+
Now you are ready to create your first Spin application.
235+
236+
> The Rust, Go, and Python templates depend on Spin 4 and its support for WASI Preview 3. As Spin 4 is fairly new, some Spin hosts support only Spin 3.x. If you need to target such a host, look for a `http-<lang>-p2` template and use that instead.
235237
236238
{{ tabs "sdk-type" }}
237239

content/v4/writing-apps.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ HTTP path: /...
258258

259259
All of these templates create a manifest containing a single component, and the source code for a minimal "hello world" component.
260260

261+
> The Rust, Go, and Python templates depend on Spin 4 and its support for WASI Preview 3. As Spin 4 is fairly new, some Spin hosts support only Spin 3.x. If you need to target such a host, look for a `http-<lang>-p2` template and use that instead.
262+
261263
## Adding a New Component to an Application
262264

263265
To add a new component to an existing application using a template, run the `spin add` command. This works in a very similar way to `spin new`, except that it expects the `spin.toml` file to already exist, and adds the details for the new component to that `spin.toml`.

0 commit comments

Comments
 (0)