emscripten-core / emscripten-core/emscripten

POST http://localhost:8080/stdio.html 405 (Method Not Allowed)

Open
#19,776 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

**Version of emscripten/emsdk:**
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.42-git
clang version 17.0.0 (https://github.com/llvm/llvm-project.git f3b64887de61020c09404bfee97b2fadd30df10a)
Target: wasm32-unknown-emscripten
Thread model: posix

I have passed in "USE_PTHREADS=1" and "-pthread" compiler flags.
But still looks like ENVIRONMENT_IS_PTHREAD is undefined. (see code below)
I don't find stdio.html anywhere in the directory structure.

`if (typeof window == "object" && (typeof ENVIRONMENT_IS_PTHREAD == "undefined" || !ENVIRONMENT_IS_PTHREAD)) {
blah blah
http.open("POST", "stdio.html", false);
blah blah
`

What can I do about this error?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.