Skip to content

Add test for native to wasm value conversions#525

Open
leonm1 wants to merge 5 commits intoproxy-wasm:mainfrom
leonm1:test/bigendian-values
Open

Add test for native to wasm value conversions#525
leonm1 wants to merge 5 commits intoproxy-wasm:mainfrom
leonm1:test/bigendian-values

Conversation

@leonm1
Copy link
Contributor

@leonm1 leonm1 commented Mar 17, 2026

This test explicitly tests the bounds of various native and wasm types to ensure passing data across the ABI boundary is not lossy.

Signed-off-by: Matt Leon <mattleon@google.com>
Copy link
Member

@PiotrSikora PiotrSikora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you change bigendian to endianness everywhere? We're verifying that values are not incorrectly converted on little-endian systems as well.

leonm1 added 4 commits March 17, 2026 14:40
Signed-off-by: Matt Leon <mattleon@google.com>
Signed-off-by: Matt Leon <mattleon@google.com>
Signed-off-by: Matt Leon <mattleon@google.com>
Signed-off-by: Matt Leon <mattleon@google.com>
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

Successfully merging this pull request may close these issues.

2 participants