Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFI types (after conversion from Rust types) do not match the WASM types in spec #536

Open
bhargavbh opened this issue Sep 14, 2022 · 0 comments
Assignees

Comments

@bhargavbh
Copy link
Contributor

this is somewhat linked to #522
It would be nice to clear up how the types in the WASM function signatures of the spec should be interpreted. Right now, we sometimes use u32/u64 in the function signature which are not really primitive types in WASM. In most cases, the function signature has i32/i64, but the FFI types (after conversion from Rust) are unsigned u32/u64 and have to be interpreted unsigned in WASM by relevant operators. Definitions 193, 194 might be the appropriate place to add this clarification.

@bhargavbh bhargavbh self-assigned this Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant