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 bytescc @fitzgen
alexcrichton added the wasm-proposal:gc label to Issue #13263.
fitzgen assigned fitzgen to issue #13263.
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 bytescc @fitzgen
Last updated: Jun 01 2026 at 09:49 UTC