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

Cannot compile on WASM/emscripten because execinfo.h was removed #2

Open
Frityet opened this issue Jan 12, 2025 · 1 comment
Open

Comments

@Frityet
Copy link

Frityet commented Jan 12, 2025

I think I can make a patch so that ifdef __emscripten__ it uses the nop, but I am not sure if that is the preferred method for this project

@mulle-nat
Copy link
Member

Hi Frityet, that sounds good to me. So in

nop:

#if  (defined( _WIN32) || defined( __MULLE_MUSL__) || defined( __COSMOPOLITAN__) || defined( __MULLE_COSMOPOLITAN__) || defined( __emscripten__))

and you probably want to do the opposite in the execinfo file.

execinfo:

#if ! (defined( _WIN32) || defined( __MULLE_MUSL__) || defined( __COSMOPOLITAN__) || defined( __MULLE_COSMOPOLITAN__) || defined( __emscripten__))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants