Skip to content

Introducing structs

Pre-release
Pre-release
Compare
Choose a tag to compare
@CharlyCst CharlyCst released this 09 Feb 20:56
· 15 commits to master since this release
7e3b5ee

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")
}