emscripten-core / emscripten-core/emscripten
compile successfully, and running normal on browser, but the result is wrong.
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
a simple c file to get the hostname and ip of the current machine.
after compiled and running on the web, the result is wrong. pls check below:
-----------------------------------------------------------------------------
ip.js:1567 wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
(anonymous) @ ip.js:1567
ip.js:1568 falling back to ArrayBuffer instantiation
(anonymous) @ ip.js:1568
**_ip.js:1959 Hostname: emscripten
ip.js:1959 Host IP: 172.29.1.0_**

------------------------------------------------------------------------------
any clues ?
check for C file or emscripten ?
Thanks in advance!
Contributor guide
Assessment
This issue has not been assessed yet.