mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[ Web ] Pass --enable-experimental-ffi when compiling WASM tests (#180127)
The CFE will start treating unsupported library imports as errors in an upcoming change (see https://github.com/dart-lang/sdk/issues/62125) which will cause web engine compilation tests to fail without the `--enable-experimental-ffi` flag. This change passes `--enable-experimental-ffi` to `dart2wasm` in preparation for this change in behavior.
This commit is contained in:
parent
662fb72f3a
commit
adfcf515fd
@ -263,6 +263,7 @@ class Dart2WasmCompiler extends TestCompiler {
|
||||
|
||||
'--libraries-spec=${environment.dartSdkDir.path}/lib/libraries.json',
|
||||
'--enable-asserts',
|
||||
'--enable-experimental-ffi',
|
||||
'--enable-experimental-wasm-interop',
|
||||
|
||||
'-DFLUTTER_WEB_USE_SKIA=${renderer == Renderer.canvaskit}',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user