Steps to Reproduce
index.zip
Run on the attached index.wasm
wasmtime -W gc,function-references,exceptions,stack-switching index.wasm
Expected Results
print test passed
Actual Results
thread '<unnamed>' (40796) panicked at /home/Aleksandr.Shefer/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wasmtime-internal-cranelift-43.0.0/src/func_environ/gc/enabled.rs:1534:9: assertionleft == rightfailed left: types::I128 right: types::I32 note: run withRUST_BACKTRACE=1environment variable to display a backtrace
Presumably, that happens because in Kotlin we are using contref typed variabled inside gc structs
Versions and Environment
wasmtime 43.0.0
Operating system: Ubuntu 24.04.4
Architecture: x86_64
Steps to Reproduce
index.zip
Run on the attached
index.wasmwasmtime -W gc,function-references,exceptions,stack-switching index.wasmExpected Results
print
test passedActual Results
thread '<unnamed>' (40796) panicked at /home/Aleksandr.Shefer/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wasmtime-internal-cranelift-43.0.0/src/func_environ/gc/enabled.rs:1534:9: assertionleft == rightfailed left: types::I128 right: types::I32 note: run withRUST_BACKTRACE=1environment variable to display a backtracePresumably, that happens because in Kotlin we are using
contreftyped variabled inside gc structsVersions and Environment
wasmtime 43.0.0
Operating system: Ubuntu 24.04.4
Architecture: x86_64