Skip to content

Commit

Permalink
[dart2wasm] Remove experimental warning for dart compile wasm and m…
Browse files Browse the repository at this point in the history
…ake `dart compile --help` show the wasm subcommand

Closes #32894

Change-Id: Ief15c21bb28de8df6ef9aefbb8891d9af9368626
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368307
Reviewed-by: Ömer Ağacan <omersa@google.com>
Reviewed-by: Michael Thomsen <mit@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
  • Loading branch information
mkustermann authored and Commit Queue committed May 28, 2024
1 parent 78f2e16 commit 004d6a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions pkg/dart2wasm/lib/dart2wasm.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ WasmCompilerOptions parseArguments(List<String> arguments) {
Never usage() {
print("Usage: dart2wasm [<options>] <infile.dart> <outfile.wasm>");
print("");
print("*NOTE*: Wasm compilation is experimental.");
print("The support may change, or be removed, with no advance notice.");
print("");
print("Options:");
for (String line in parser.usage.split('\n')) {
print('\t$line');
Expand Down
2 changes: 1 addition & 1 deletion pkg/dartdev/lib/src/commands/compile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ class CompileWasmCommand extends CompileSubcommandCommand {
.toList();

CompileWasmCommand({bool verbose = false})
: super(commandName, help, verbose, hidden: !verbose) {
: super(commandName, help, verbose) {
argParser
..addOption(
outputFileOption.flag,
Expand Down

0 comments on commit 004d6a3

Please sign in to comment.