Stream: git-wasmtime

Topic: wasmtime / issue #13263 GC trap: no capacity for allocati...


view this post on Zulip Wasmtime GitHub notifications bot (May 04 2026 at 15:12):

alexcrichton opened issue #13263:

This command fails:

$ RUSTFLAGS=--cfg=gc_zeal cargo run wast  -Ogc-zeal-alloc-counter=1 -Wfunction-references,gc tests/misc_testsuite/gc/array-gc-refs.wast --wasmtime-builtins
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s
     Running `target/debug/wasmtime wast -Ogc-zeal-alloc-counter=1 -Wfunction-references,gc tests/misc_testsuite/gc/array-gc-refs.wast --wasmtime-builtins`
Error: failed to run script file 'tests/misc_testsuite/gc/array-gc-refs.wast'

Caused by:
    0: failed directive on tests/misc_testsuite/gc/array-gc-refs.wast:38
    1: error while executing at wasm backtrace:
    0: <unknown>!<wasm function 1>
note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information
    2: GC heap out of memory: no capacity for allocation of 0 bytes

cc @fitzgen

view this post on Zulip Wasmtime GitHub notifications bot (May 04 2026 at 15:12):

alexcrichton added the wasm-proposal:gc label to Issue #13263.

view this post on Zulip Wasmtime GitHub notifications bot (May 04 2026 at 19:45):

fitzgen assigned fitzgen to issue #13263.

view this post on Zulip Wasmtime GitHub notifications bot (May 05 2026 at 19:00):

fitzgen closed issue #13263:

This command fails:

$ RUSTFLAGS=--cfg=gc_zeal cargo run wast  -Ogc-zeal-alloc-counter=1 -Wfunction-references,gc tests/misc_testsuite/gc/array-gc-refs.wast --wasmtime-builtins
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s
     Running `target/debug/wasmtime wast -Ogc-zeal-alloc-counter=1 -Wfunction-references,gc tests/misc_testsuite/gc/array-gc-refs.wast --wasmtime-builtins`
Error: failed to run script file 'tests/misc_testsuite/gc/array-gc-refs.wast'

Caused by:
    0: failed directive on tests/misc_testsuite/gc/array-gc-refs.wast:38
    1: error while executing at wasm backtrace:
    0: <unknown>!<wasm function 1>
note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information
    2: GC heap out of memory: no capacity for allocation of 0 bytes

cc @fitzgen


Last updated: Jun 01 2026 at 09:49 UTC