Skip to content

Commit

Permalink
Version 3.5.0-263.0.dev
Browse files Browse the repository at this point in the history
Merge 18ffc28 into dev
  • Loading branch information
Dart CI committed Jun 14, 2024
2 parents 17e5d68 + 18ffc28 commit 2c1ec68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
2 changes: 1 addition & 1 deletion pkg/dart2wasm/tool/compile_benchmark
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ while [ $# -gt 0 ]; do
shift
;;

-g | --no-strip-wasm | --name-section)
-g | --no-strip-wasm)
BINARYEN_FLAGS+=("-g")
shift
;;
Expand Down
16 changes: 1 addition & 15 deletions pkg/dartdev/lib/src/commands/compile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -646,14 +646,6 @@ class CompileWasmCommand extends CompileSubcommandCommand {
'takes precedence over the optimization-level option.',
hide: !verbose,
)
// TODO(kustermann): Remove this flag once flutter no longer uses it.
..addFlag(
'name-section',
defaultsTo: true,
negatable: true,
help: 'Include a name section with printable function names.',
hide: !verbose,
)
..addFlag(
'strip-wasm',
defaultsTo: true,
Expand Down Expand Up @@ -850,13 +842,7 @@ class CompileWasmCommand extends CompileSubcommandCommand {
return compileErrorExitCode;
}

bool strip = true;
if (args.wasParsed('name-section')) {
strip = !args.flag('name-section');
}
if (args.wasParsed('strip-wasm')) {
strip = args.flag('strip-wasm');
}
final bool strip = args.flag('strip-wasm');

if (runWasmOpt) {
final unoptFile = '$outputFileBasename.unopt.wasm';
Expand Down
2 changes: 1 addition & 1 deletion tools/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ CHANNEL dev
MAJOR 3
MINOR 5
PATCH 0
PRERELEASE 262
PRERELEASE 263
PRERELEASE_PATCH 0

0 comments on commit 2c1ec68

Please sign in to comment.