Skip to content

Wasm backend testsuite failure: T20006

T20006 fails with:

Wrong exit code for T20006(normal)(expected 0 , actual 1 )
Stderr ( T20006 ):
error: Uncaught RuntimeError: divide by zero
    at setupRtsFlags (wasm://wasm/005c2cca:1:781073)
    at hs_init_ghc (wasm://wasm/005c2cca:1:809573)
    at hs_main (wasm://wasm/005c2cca:1:790284)
    at main (wasm://wasm/005c2cca:1:27177)
    at __main_void (wasm://wasm/005c2cca:1:1116161)
    at _start (wasm://wasm/005c2cca:1:26644)
    at Context.start (https://deno.land/std@0.167.0/wasi/snapshot_preview1.ts:1765:7)
    at file:///workspace/.ghc-wasm/wasm-run/bin/wasm-run.js:24:9
*** unexpected failure for T20006(normal)

T20006.hs:

module Main where

main :: IO ()
main = return ()

Run opts:

test('T20006', [extra_run_opts('+RTS --eventlog-flush-interval=1')],
    compile_and_run,
    [''])
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information