emscripten-core / emscripten-core/emscripten

Log Display Issue: emscripten_log not functioning on Safari

Open
#19,867 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

`emscripten_log` with the `EM_LOG_CONSOLE` flag does not output anything on Safari's console. However, it functions properly on Chrome and Firefox.

I am utilizing it within an AudioWorkletProcessor, and it appears to be related to the issue documented at https://bugs.webkit.org/show_bug.cgi?id=220039.

Please include the following in your bug report:

**Version of emscripten/emsdk:**
Please include the output `emcc -v` here
```
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.40-git
clang version 17.0.0 (https://github.com/llvm/llvm-project.git 2922e7cd9334797c24a317d41275f1258ef9ddd3)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /usr/local/Cellar/emscripten/3.1.40/libexec/llvm/bin
```

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.