Skip to content

graalwasm: Postponed memory resolution not yet implemented. #2000

Open
@frauzufall

Description

@frauzufall

I am testing the new GraalWasm engine. Thanks for making this happen!

I got this error when trying to load pyodide:

Exception in thread "main" Postponed memory resolution not yet implemented.
	at org.graalvm.sdk/org.graalvm.polyglot.Context.eval(Context.java:344)

Here is the relevant part of my code:

Context context = Context.newBuilder("wasm").build();
URL pyodideResource = Thread.currentThread().getContextClassLoader().getResource("lib/pyodide/pyodide.asm.wasm");
Source.Builder sourceBuilder = Source.newBuilder("wasm", pyodideResource);
Source source = sourceBuilder.build();
context.eval(source);

Just wanted to let you know that there is interest in this implementation or in knowing whether this is a planned feature.

Also thanks for making it so easy to test :)

Best,
Deborah

Metadata

Metadata

Assignees

Labels

graalwasmIssues related to GraalWasm (graalvm.org/webassembly/)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions