tryed to repeate after you, but got
C:\Nim\dev\guitest>nim c -d:useRealtimeGC -d:release -d:emscripten
--out=index.html test.nim
Hint: used config file 'C:\Nim\nim160-32\nim-0.16.0\config\nim.cfg' [Conf]
Hint: used config file 'C:\Nim\dev\guitest\nim.cfg' [Conf]
Hint: system [Processing]
Hint: test [Processing]
CC: test
Error: unhandled exception: The system cannot find the file specified.
Additional info: Requested command not found: 'emcc.exe -c -w -s WASM=1 -s
'BINARYEN_METHOD="native-wasm"' -Iemscripten
-O3 -IC:\Nim\nim160-32\nim-0.16.0\lib -o
C:\Nim\dev\guitest\nimcache\test.o C:\Nim\dev\guitest\nimcache\test.c'. OS e
rror: [OSError]
seems i need change my nim.cfg, but i haven't ideas how to