Introducing structs
Pre-release
Pre-release
Structs are now available in Zephyr, a direct use case are strings and string literals which are also added in the release as a showcase of struct usage.
standalone package hello
use std.r.wasi
expose hello as _start
fun hello() {
wasi.print("Hello, world!\n")
}