Skip to content

Commit

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

Bug: #32894
Change-Id: Ia0d57385879630c9c4c289465c797b84444c36fc
Cherry-pick: https://dart-review.googlesource.com/c/sdk/+/368307
Cherry-pick-request: #55857
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368420
Reviewed-by: Ömer Ağacan <omersa@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
  • Loading branch information
mkustermann authored and Commit Queue committed May 28, 2024
1 parent b0e7f17 commit ee66d5d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 3.4.2

This is a patch release that:

- Marks `dart compile wasm` as no longer experimental.

## 3.4.1 - 2024-05-22

This is a patch release that:
Expand Down
3 changes: 0 additions & 3 deletions pkg/dart2wasm/lib/dart2wasm.dart
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,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 @@ -589,7 +589,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 ee66d5d

Please sign in to comment.