export PATH=/Library/Developer/Toolchains/swift-wasm-5.3.1-RELEASE.xctoolchain/usr/bin:$PATH
echo 'import struct WASILibc.FILE; print("Hello, world!")' > hello.swift
swiftc -target wasm32-unknown-wasi hello.swift -o hello.wasm
hello.swift:1:15: error: struct 'FILE' does not exist in module 'WASILibc'
import struct WASILibc.FILE; print("Hello, world!")
^ ~~~~