Skip to content

Use -O2 instead of -O3 for Dart compilation - #99

Draft
sg-batch-changes-for-github[bot] wants to merge 1 commit into
masterfrom
dart-o3-to-o2-e2488aec-fb73-4b8a-a056-1c0d8a7b3379
Draft

Use -O2 instead of -O3 for Dart compilation#99
sg-batch-changes-for-github[bot] wants to merge 1 commit into
masterfrom
dart-o3-to-o2-e2488aec-fb73-4b8a-a056-1c0d8a7b3379

Conversation

@sg-batch-changes-for-github

Copy link
Copy Markdown

Switches the Dart compiler optimization level from -O3 to -O2.

This covers dart2js_args in build.yaml / build.<variant>.yaml files, as well as dart compile js / dart2js invocations and dart optimization flag variables in shell scripts and CI workflows.

Only standalone -O3 flags in Dart build configuration or on a Dart compile command line are rewritten; unrelated occurrences of the string (CSS, SVG, minified assets, non-Dart tooling) are left untouched.

Created by a Sourcegraph agentic batch change.

Co-authored-by: Rob Becker <rob.becker@workiva.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant