Skip to content

[gc] array as a field in struct object is not supported in constant init expr #4190

Open
@vouillon

Description

@vouillon

Steps to reproduce

  1. Unpack zip globals.zip

  2. Build iwasm with the following command:

cmake .. -DWAMR_BUILD_GC=1 -DWAMR_BUILD_EXCE_HANDLING=1 -DWAMR_BUILD_TAIL_CALL=1 && make
  1. Run ./iwasm globals.wasm

Expected behavior

It should print these three lines:

line 1
line 2
line 3

Actual behavior

I get the following output:

WASM module instantiate failed: array as a field in struct object is not supported in constant init expr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions