Skip to content

Avoid using WasmExternRefToJSAny and externRefForJSAny from dart:_wasm #186973

Description

@simolus3

I'm only opening this issue because the PR template asks for one, I'll file a PR to fix this momentarily. Feel free to assign this issue to me.

The skwasm engine currently imports dart:_wasm to use helpers converting between JSAny and WasmExternRef. We want to move the Dart SDK towards not exporing these in dart:_wasm (dart-lang/sdk#63166), because there will be a JS-free WebAssembly target in the future. Instead, there's a new dart:_js_interop_wasm library exporting these helpers. dart:_wasm currently exports that library because we can't merge SDK changes that fail to analyze Flutter afterwards, but Flutter needs to stop relying on that re-export so that we can drop it in the SDK.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work liste: wasmIssues related to the wasm build of Flutter Web.engineflutter/engine related. See also e: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions