This is consistent with fd_close's behavior, and is likely temporary until other options are designed.
This repository contains adapted forms of the CloudABI project's "libemulator" library, which includes implementations the CloudABI system calls using standard native platform support. See the README.md and LICENSE files in the individual subdirectories for details.
src/ - cloudabi-utils' libemulator; see src/README.md for details include/ - wasi headers
This is currently an experimental prototype.