Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASM Compatibilty #187

Open
redDwarf03 opened this issue Jul 15, 2024 · 1 comment
Open

WASM Compatibilty #187

redDwarf03 opened this issue Jul 15, 2024 · 1 comment

Comments

@redDwarf03
Copy link

With flutter web 3.22, it isn't possible to build app with flutter build web --wasmcommand because of this error

Target dart2wasm failed: ProcessException: Process exited abnormally with exit code 64:
*NOTE*: Compilation to WasmGC is experimental.
The support may change, or be removed, with no advance notice.


../../../flutter/.pub-cache/hosted/pub.dev/ffi-2.1.2/lib/src/allocation.dart:5:1: Error: 'dart:ffi' can't be imported when compiling to Wasm.
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dev/ffi-2.1.2/lib/src/utf16.dart:5:1: Error: 'dart:ffi' can't be imported when compiling to Wasm.
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dev/ffi-2.1.2/lib/src/utf8.dart:6:1: Error: 'dart:ffi' can't be imported when compiling to Wasm.
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dev/ffi-2.1.2/lib/src/arena.dart:8:1: Error: 'dart:ffi' can't be imported when compiling to Wasm.
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dev/cryptography-2.7.0/lib/src/dart/argon2_impl_vm.dart:16:1: Error: 'dart:ffi' can't be imported when compiling to Wasm.
import 'dart:ffi';
@sunderee
Copy link

sunderee commented Oct 11, 2024

This is also briefly mentioned in this PR as well. Migration to WASM would require some changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants