javy icon indicating copy to clipboard operation
javy copied to clipboard

Allow specifying which file descriptor is used in console.{log,err} from the CLI

Open Niikelion opened this issue 2 months ago • 2 comments

Operating system: windows + wsl2-ubuntu, windows Processor architecture: x86_64 Rust version: rustup 1.27.0 Javy version: javy 1.4.0

Problem

After compiling console.log("test") into .wasm file and executing it with wasmtime I get output on stderr instead of stdout. I verified that its not an wasmtime problem by compiling and running simple c program with printf("test\n"). Testing was done in windows and wsl2 with ubuntu on windows and in happens in both cases.

Niikelion avatar Apr 13 '24 10:04 Niikelion