Nathaniel McCallum
Nathaniel McCallum
cc @rjzak
@NobodyXu Don't forget enarx!
@passcod That's a good question. I have filed this bug: https://github.com/enarx/enarx/issues/2094 Note (unrelatedly), however, that `wat2wasm` complains about your `.wat` file. ``` $ wat2wasm exit.wat exit.wat:5:3: error: imports must occur...
@passcod We have fixed the above issue.
@locka99 What you really have is a 32-bit struct with two members: one is an enum and the other is a bitflag. ```rust #[repr(u16)] enum Code { GoodSubscriptionTransferred = 0x002D,...
@rvolosatovs Can you rebase this?
@deadprogram Are you able to review this?
See https://en.cppreference.com/w/cpp/language/integer_literal Specifically the section: "The type of the literal" Bindgen should not attempt to detect signedness. It should rely on the `u` or `U` suffix for that.
There are two issues here: size and signedness. Size detection is fine. Signedness is not. Trying to detect sign is wrong. Half the time you will get it wrong and...
@emilio I've been doing some thinking about this problem. Obviously, `cexpr` still needs to provide us the information. However, `bindgen` also discards information. Specifically, it converts an integer literal to...