Add omit-type-checks flag for wasm builds#124341
Conversation
|
This pull request has been changed to a draft. The currently pending flutter-gold status will not be able to resolve until a new commit is pushed or the change is marked ready for review again. For more guidance, visit Writing a golden file test for Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
|
Trying a before/after: Material 3 app (with some local tweaks) normal: 6,940,575 bytes - 5,268,557 w/ wasm-opt with normal: 6,720,745 bytes - 5,045,495 w/ wasm-opt |
eyebrowsoffire
left a comment
There was a problem hiding this comment.
Could you write a unit test that actually ensures we properly add the flag? Maybe use
as a starting point for it?|
auto label is removed for flutter/flutter, pr: 124341, due to - The status or check suite Windows framework_tests_widgets has failed. Please fix the issues identified (or deflake) before re-applying this label. |
|
auto label is removed for flutter/flutter, pr: 124341, due to - The status or check suite Mac framework_tests_libraries has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Add omit-type-checks flag for wasm builds
Fixes #124177