Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Emscripten support #175

Open
vittorioromeo opened this issue Sep 15, 2024 · 0 comments
Open

Feature Request: Emscripten support #175

vittorioromeo opened this issue Sep 15, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@vittorioromeo
Copy link
Contributor

Would be nice to get even (partial) support for Emscripten -- I currently only need cpptrace::generate_trace().print() in my project, and I have to #ifdef for Emscripten like this:

#ifdef SFML_SYSTEM_EMSCRIPTEN
    char callstack[4096];
    emscripten_get_callstack(EM_LOG_C_STACK, callstack, sizeof(callstack));
    std::puts(callstack);
#else
    cpptrace::generate_trace().print();
#endif

Would be nice if cpptrace handled this automatically :)

@jeremy-rifkin jeremy-rifkin added enhancement New feature or request help wanted Extra attention is needed labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants