Closed yamt closed 2 years ago
which should be fixed?
my suggestion is to amend BasicCABI.md. but i'm totally ignorant of the situations of other compilers.
Would changing it to say "enum
(by default)" make it clear?
my suggestion https://github.com/WebAssembly/tool-conventions/pull/188
Fixed by #188
https://github.com/WebAssembly/tool-conventions/blob/main/BasicCABI.md says enum is 4-bytes.
otoh, clang sometimes yields 8-bytes enum. eg.
which should be fixed?