Branch: refs/heads/main
Home:
https://github.com/dart-lang/sdk
Commit: 5cd42e6b210816c434d91ccfe1f26913830dda62
https://github.com/dart-lang/sdk/commit/5cd42e6b210816c434d91ccfe1f26913830dda62
Author: Martin Kustermann <
kuste...@google.com>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M pkg/dart2wasm/lib/compile.dart
M pkg/dart2wasm/lib/compiler_options.dart
M pkg/dart2wasm/lib/dart2wasm.dart
M pkg/dart2wasm/lib/functions.dart
M pkg/dart2wasm/lib/translator.dart
M pkg/dart2wasm/lib/util.dart
M pkg/dart2wasm/test/ir_test.dart
M pkg/dart2wasm/test/ir_tests/always_throws.wat
M pkg/dart2wasm/test/ir_tests/covariance_check.wat
M pkg/dart2wasm/test/ir_tests/deferred.constant.multi_module_use.wat
M pkg/dart2wasm/test/ir_tests/deferred.constant.multi_module_use_module1.wat
M pkg/dart2wasm/test/ir_tests/deferred.constant.multi_module_use_module2.wat
M pkg/dart2wasm/test/ir_tests/deferred.constant.type_use_module1.wat
M pkg/dart2wasm/test/ir_tests/deferred.constant_module1.wat
M pkg/dart2wasm/test/ir_tests/deferred.fine_grained.devirtualized.wat
M pkg/dart2wasm/test/ir_tests/deferred.fine_grained.devirtualized_module1.wat
M pkg/dart2wasm/test/ir_tests/deferred.fine_grained.wat
M pkg/dart2wasm/test/ir_tests/deferred.fine_grained_module2.wat
M pkg/dart2wasm/test/ir_tests/deferred.fine_grained_module3.wat
M pkg/dart2wasm/test/ir_tests/deferred.fine_grained_module5.wat
M pkg/dart2wasm/test/ir_tests/deferred.fine_grained_module7.wat
M pkg/dart2wasm/test/ir_tests/deferred.fine_grained_module9.wat
M pkg/dart2wasm/test/ir_tests/deferred.init_at_startup.wat
M pkg/dart2wasm/test/ir_tests/deferred.type_checks_module1.wat
M pkg/dart2wasm/test/ir_tests/dispatch_table_reuse_module1.wat
M pkg/dart2wasm/test/ir_tests/external_effect.wat
M pkg/dart2wasm/test/ir_tests/hello.wat
M pkg/dart2wasm/test/ir_tests/import_name_module1.wat
M pkg/dart2wasm/test/ir_tests/interop.bool.wat
M pkg/dart2wasm/test/ir_tests/interop.double.wat
M pkg/dart2wasm/test/ir_tests/interop.int.wat
M pkg/dart2wasm/test/ir_tests/interop.num.wat
M pkg/dart2wasm/test/ir_tests/interop.string.wat
M pkg/dart2wasm/test/ir_tests/js_inline.wat
M pkg/dart2wasm/test/ir_tests/math_min_max.wat
M pkg/dart2wasm/test/ir_tests/memory_use.wat
M pkg/dart2wasm/test/ir_tests/pure_function.wat
M pkg/dart2wasm/test/ir_tests/try_blocks.wat
M pkg/wasm_builder/lib/src/builder/function.dart
M pkg/wasm_builder/lib/src/ir/function.dart
M pkg/wasm_builder/lib/src/ir/module.dart
M pkg/wasm_builder/lib/src/serialize/sections.dart
Log Message:
-----------
[dart2wasm] Start emitting `binaryen.inline` custom section
Binaryen introduced `binaryen.inline` which allows us to tell it
inlining hints now, including "never inline" hint (see [0])
This allows us to remove the ugly mangling of wasm function names with
`<noInline>` postfix.
We also now pass `--strip-toolchain-annotations`: The annotations
occupy size in the wasm binary and wasm runtimes ignore them (they are
for `wams-opt` only).
Except for IR tests: Here we want to see the annotations, so we keep
them there.
We also rename the package:wasm_builder classes to clearly indicate
those are binaryen specific sections.
We also make the ir_test.dart put it's options first, allowing the IR
tests to override options if needed.
[0]
https://github.com/WebAssembly/binaryen/commit/3c25487214600a9
Change-Id: I96688bfaeba403a39cd5e7376f8d2889bcbae030
Reviewed-on:
https://dart-review.googlesource.com/c/sdk/+/510000
Commit-Queue: Martin Kustermann <
kuste...@google.com>
Reviewed-by: Srujan Gaddam <
sru...@google.com>
Commit: 8e751fbc029f0860f533c163f3b5a4a87db4fa50
https://github.com/dart-lang/sdk/commit/8e751fbc029f0860f533c163f3b5a4a87db4fa50
Author: Martin Kustermann <
kuste...@google.com>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M pkg/dart2wasm/lib/js/runtime_blob.dart
Log Message:
-----------
[dart2wasm] Remove deprecated mjs API functions
This is a re-land of [0] from 1.5 years ago.
[0]
https://dart-review.googlesource.com/c/sdk/+/385020
Change-Id: I92747494f7c0d9dc43c09040ce06a523453994f3
Reviewed-on:
https://dart-review.googlesource.com/c/sdk/+/510823
Reviewed-by: Srujan Gaddam <
sru...@google.com>
Commit-Queue: Martin Kustermann <
kuste...@google.com>
Compare:
https://github.com/dart-lang/sdk/compare/b5294b97538c...8e751fbc029f
To unsubscribe from these emails, change your notification settings at
https://github.com/dart-lang/sdk/settings/notifications