Files
sdk/pkg/_js_interop_checks/lib
Srujan Gaddam 22e24c69ab [dart2wasm] Disable FFI transform when not allowed to use FFI
Fixes https://github.com/dart-lang/sdk/issues/62626

Moves the ffi check out of _js_interop_checks and into its
own dart2wasm-specific check, and then gates any ffi
transforms based on whether we're allowed to import it.
This lets the dry-run run without any potential crashes
related to transforming ffi code. A new dry run enum is
added as well to disambiguate JS interop checks from
a dart:ffi import.

Change-Id: I9ccaa21099cadb14545c46619b97439623d0415a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/483680
Commit-Queue: Srujan Gaddam <srujzs@google.com>
Reviewed-by: Nate Biggs <natebiggs@google.com>
2026-02-26 09:01:32 -08:00
..