Some of the constants in the documentation are out of order, based on what their values are. For example, the __wasi_advice_t values currently list __WASI_ADVICE_DONTNEED first, so I'd expect its value to be zero or possibly one. However, it's actually four. A similar change also recently landed related to clock ID constants. It might be good to audit all of the constants for similar inconsistencies.
Some of the constants in the documentation are out of order, based on what their values are. For example, the
__wasi_advice_tvalues currently list__WASI_ADVICE_DONTNEEDfirst, so I'd expect its value to be zero or possibly one. However, it's actually four. A similar change also recently landed related to clock ID constants. It might be good to audit all of the constants for similar inconsistencies.