Rust bindings for Binaryen's wasm-opt
Closes #166. Besides updating the project to be compatible with binaryen version_121, I made a few other changes: - Use derive feature for `strum` instead of separate dependency on `strum_macros`. - Use serialize-all for enums instead of manually adding a serialize attribute to every variant - Remove `Pass::name` and instead use `IntoStaticStr` to generate static strings for enum variants. - Update third party dependencies of each component crate. - Add fields and functions related to `PassOptions` `generateStackIR` and `optimizeStackIR` fields (these are present in binaryen version_121 but did not exist yet in version_116). - Add binding for `containsPass` (present in binaryen version_121 but did not exist yet in version_116). - Apply changes suggested by running `cargo clippy`. I'm opening this as a draft since I'm not really familiar with binaryen or the WASM spec more generally. I made this PR by referring to previous commits in this repository adding support for newer binaryen versions. @brson @Aimeedeer pinging you two to make sure you see this since this repo hasn't received any new commits on the master branch for close to a year and you are the primary contributors.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by SleeplessOne1917 and has received 6 comments.