-
Notifications
You must be signed in to change notification settings - Fork 825
Expose features option in C API #6380
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
Conversation
kripken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @surma , thanks, this looks like the right C API change here!
Code lgtm. Please just add a note to CHANGELOG.md and a small test to test/example/c-api-kitchen-sink.c (after adding it, running ./scripts/auto_update_tests.py example will update the output for that file).
|
@kripken I hope I did this right :) |
kripken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good aside from one comment!
|
Looks like there is a CI error too, on lint: https://github.com/WebAssembly/binaryen/actions/runs/8177938588/job/22362367130?pr=6380 |
Co-authored-by: Alon Zakai <alonzakai@gmail.com>
|
Fixed! |
3e1af54 to
43487fa
Compare
I am currently in need of setting features from the C API, so I figured I’d take a stab at fixing the TODO.
Not sure if this is the way you’d wanna go about it, though. Happy to adjust!