There are some enums that start negative, for example debug logging level is -1 and the rest start after that. other enums start at zero (ex errnosuccess in old wasi), others at 1. It would be nice to both have enum handling documented precisely, and also allow adjustment of the start ordinal similar to iota in go.
There are some enums that start negative, for example debug logging level is -1 and the rest start after that. other enums start at zero (ex errnosuccess in old wasi), others at 1. It would be nice to both have enum handling documented precisely, and also allow adjustment of the start ordinal similar to iota in go.