brson / wasm-opt-rs

Rust bindings for Binaryen's wasm-opt
Apache License 2.0
61 stars 10 forks source link

Feature handling is not quite right #123

Closed brson closed 1 year ago

brson commented 1 year ago

In binaryen, enabling a feature both sets its enabled flag to true and disabled flag to false, and the opposite for disabling a feature (tool-options.h). Our code only sets enabled to true, but not disabled to false (builder.rs).

Figure out how to test for this.