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

Specifying args #3

Open
FloorLamp opened this issue Apr 23, 2018 · 0 comments
Open

Specifying args #3

FloorLamp opened this issue Apr 23, 2018 · 0 comments

Comments

@FloorLamp
Copy link
Member

FloorLamp commented Apr 23, 2018

Any preference on how args should be specified?

If I wanted to call these functions:

main(0xabcd)
sum(1, 2)
finish()

How about this:

primea --create test.wasm main 0xabcd sum 1,2 finish

Or this:

primea --create test.wasm --run main,sum,finish --main arg0 --sum 1,2
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