-
Notifications
You must be signed in to change notification settings - Fork 306
Closed
Labels
bugSomething in this repository is erroneous and should be corrected.Something in this repository is erroneous and should be corrected.questionFurther information is requestedFurther information is requested
Description
The documentation for __wasi_environ_get says "The sizes of the buffers should match that returned by __wasi_environ_sizes_get" but the WASI implementations that I tested (wasmtime and wasmer) expect a buffer with space for additional null pointer at the end. The sysroot too implements it that way.
This is in contrast with __wasi_args_get and __wasi_args_sizes_get that say the same thing but do as documented.
I'm not sure if this is a bug or the expected behavior. If it is, it should be documented as such.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething in this repository is erroneous and should be corrected.Something in this repository is erroneous and should be corrected.questionFurther information is requestedFurther information is requested