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

WASIX Test Suite #4780

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

WASIX Test Suite #4780

wants to merge 5 commits into from

Conversation

maminrayej
Copy link
Contributor

This PR is an attempt to provide a test suite for WASIX.

NOTE: This PR is still a work in progress since many other code paths must be tested.

@maminrayej maminrayej changed the title Wasix Test Suite WASIX Test Suite Jun 2, 2024
@@ -77,6 +77,7 @@ while read dir; do

cmd="cd $dir; \
$CC $CFLAGS $LDFLAGS -o main.wasm main.c; \
wasm-opt -O4 --asyncify -g --fpcast-emu main.wasm -o main.wasm -pa max-func-params@32; \
Copy link
Member

@syrusakbary syrusakbary Jun 3, 2024

Choose a reason for hiding this comment

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

I don't think we need --fpcast-emu nor -pa max-func-params@32 here (at least for now on the current examples)

Copy link
Member

Choose a reason for hiding this comment

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

This should be:

Suggested change
wasm-opt -O4 --asyncify -g --fpcast-emu main.wasm -o main.wasm -pa max-func-params@32; \
wasm-opt -O3 --asyncify -g main.wasm -o main.wasm; \

Copy link
Member

@syrusakbary syrusakbary left a comment

Choose a reason for hiding this comment

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

Good to merge the PR once the comments are addressed

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.

None yet

2 participants